Re:Almond.css: Collection of CSS styles to make simple websi...
by toastal on Monday February 28, 2022 @08:49AM
(#30499744)
HSL and HSV are terrible color representations for theming like this. You are just asking for chroma issues. LCH and Lab (along with OKLCH and OKLab) are offered in the CSS4 spec. If you can't support CSS4, it's better off having users specify the whole color.
[ Parent
| on HN ]
Re:Almond.css: Collection of CSS styles to make simple websi...
by clairity on Monday February 28, 2022 @01:36PM
(#30503286)
is it worth the complication of learning about the different color space options for the average developer? why aren't hex values 'good enough'? it's unclear (as a non-specialist) what problems those options are trying to solve.
Re:Almond.css: Collection of CSS styles to make simple websi...
by toastal on Monday February 28, 2022 @08:39PM
(#30508077)
I wouldn't say I disagee with you which is why I mentioned just allowing a full color, be that hex, rgb, hwb, lab, etc... including color() which lets you define in absolute terms in various color spaces.