Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I used to do gradient interpolations all the time in dataviz using D3, and using HSL/HCL/LAB always created better gradients. I wish we had color mode options in CSS gradients, but this is a good workaround for now.


Your wish is granted by w3/css-color-4:

§ 12.1 Color space for interpolation https://www.w3.org/TR/css-color-4/#interpolation-space




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: