d3-color

2.0.0

Useful extensions and functions used with SwiftUI Color to rgb ios macos Get rgb from Color Do brighter Do darker SwiftUI kit color swift color to rgba UIColor UIKit Appkit converter
swiftuiux/d3-color

What's New

SwiftUI Color extender

2022-06-01T11:01:36Z

SwiftUI Color extender

SwiftUI Color extender

Useful extensions and functions used with SwiftUI Color

Computed properties

  • rgba - returns values RGB and alfa chanels for Color instance

Functions

  • doBrighter (k: Double?) - increase intensity of the color. k - is level of the intensity Default value 0.05

  • doDarker(k: Double?) - decrease intensity of the color. k - is level of the intensity Default value 0.05

Used in

Color extender

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Nov 29 2024 10:49:39 GMT-1000 (Hawaii-Aleutian Standard Time)