swiftuiux/d3-color
Useful extensions and functions used with SwiftUI Color
Computed properties
rgba- returns values RGB and alfa channels 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]
Package Metadata
Repository: swiftuiux/d3-color
Default branch: main
README: README.md