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
Currently, most of the color operation functions modify a channel relative to its current value. (fade is the exception here, allowing you to specify the alpha value to use for the result, regardless of the input value.)
It would be nice if there were set* functions for each of the color channels. For example, setlightness(@c, @lightness) would be equivalent to hsl(hue(@c), saturation(@c), @lightness) in the same way that fade(@c, @alpha) is to rgba(red(@c), green(@c), blue(@c), @alpha).
The text was updated successfully, but these errors were encountered:
Currently, most of the color operation functions modify a channel relative to its current value. (
fade
is the exception here, allowing you to specify the alpha value to use for the result, regardless of the input value.)It would be nice if there were set* functions for each of the color channels. For example,
setlightness(@c, @lightness)
would be equivalent tohsl(hue(@c), saturation(@c), @lightness)
in the same way thatfade(@c, @alpha)
is torgba(red(@c), green(@c), blue(@c), @alpha)
.The text was updated successfully, but these errors were encountered: