You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a UIColor initializer that supports the LCh color space.
This will require importing a couple of gists to support CieLAB colors but also creating a new "friendly" UIColor initializer to refer to the CieLAB version internally.
public func init(luminance: CGFloat, chroma: CGFloat, hue: CGFloat)
where luminance is 0.0 – 1.0
chroma is 0 – ~180
hue is in degrees not radians
The text was updated successfully, but these errors were encountered:
Add a UIColor initializer that supports the LCh color space.
This will require importing a couple of gists to support CieLAB colors but also creating a new "friendly" UIColor initializer to refer to the CieLAB version internally.
where luminance is 0.0 – 1.0
chroma is 0 – ~180
hue is in degrees not radians
The text was updated successfully, but these errors were encountered: