by duhi88 · 6y ago · 0 comments
hsl is a much nicer syntax for humans to describe color than rgb channels.
I'm sure there are good reasons under the hood, but why that syntax over something like:
``` header { color: hsl(42, 70%, 50%); color: hsl(display-p3 42, 70%, 50%); } ```
Unless I'm not understanding this correctly. If that's correct, it seems strange and sloppy to require the display-p3 definition.
In other words, same HSL => same RGB, and same RGB but different space => often a different color.