Useful extensions and functions used with SwiftUI Color
rgba
- returns values RGB and alfa channels for Color instancedoBrighter (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
link |
Stars: 5 |
Last commit: 28 weeks ago |
SwiftUI Color extender
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics