Live data from Hacker News

CSS Gradients that avoid the “gray dead zone”

joshwcomeau.com

1–10 of 151 posts

Re: CSS Gradients that avoid the “gray dead zone”

#3
Because Hue is a degree, you can walk either clockwise or counter-clockwise. That is why in the Javascript widget (the one to select midpoints and color spaces), HSL v.s. Lab v.s. HCL acted quite differently. You probably also need a tweak for that in the "Gradient Generator" widget too.

Re: CSS Gradients that avoid the “gray dead zone”

#7
The gradient generator Josh introduces here is pretty nice [0]! And the HSL vs RGB theory is also pretty interesting. I'll give this generator a try next time I want one.

But my favorite gradient generator at the moment (most pleasant gradients IMO) is still [1].

[0] https://www.joshwcomeau.com/gradient-generator/

[1] https://mycolor.space/gradient

Re: CSS Gradients that avoid the “gray dead zone”

#8
As a (web/app) developer, I'd really wish I had any sort of talent do beautiful things, this person clearly has a sense of aesthetics that I don't, while I know that practice would make it better, I just don't feel that I'd get there.

Congrats to the author for such a cool product!

Post reply on HN