Skip to content

Useful extensions and functions used with SwiftUI Color rgb ios macos Get rgb from Color Do brighter Do darker SwiftUI color

License

Notifications You must be signed in to change notification settings

igor11191708/d3-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SwiftUI Color extender

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

About

Useful extensions and functions used with SwiftUI Color rgb ios macos Get rgb from Color Do brighter Do darker SwiftUI color

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages