3 ms·
Nice but HSLa would be a nice addition. I think we really should encourage the use of this format now that it is supported. The ability to shift saturation and
by bluetwo 10y ago
Nice but HSLa would be a nice addition. I think we really should encourage the use of this format now that it is supported.
The ability to shift saturation and brightness without impacting hue is really useful once it saves your butt a couple times.
- sdvz 10y agoThanks for the feedback. I'll add HSLa as an option.
- kccqzy 10y agoHSL and the likes are based on a simple cylindrical transformation of RGB. I would argue that we usually want perceptual uniformity, so I recommend cylindrical versions of CIELAB instead; just replace a* and b* with C* and h* , where a* = C* cos( h* ) and b* = C* sin( h* ).