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
BREAKING: Remove over-complicated settings & output options for now.
Focus on practical Sass conversion to and from CIE functions.
NEW: lch() hue channel accepts any angle unit
(e.g. turn, rad, grad, or deg)
NEW: lab($lab, $a) returns an (sRGB) Sass color
NEW: Inspect LCH/Lab values of a Sass color with
lightness()
a() and b()
chroma() and hue()
NEW: contrast() selects the best contrast from a list
NEW: Generate new colors based on relative LCH & Lab adjustments:
set() to replace a channel value
adjust() to add or subtract from a channel
scale() to scale fluidly towards one "end" of the channel range
NEW: from() converts a Sass color to LCH
in order to adjust CIE lightness, chroma, and hue --
using a syntax roughly based on CSS Colors Level 5 relative syntax