Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tvanantwerp
on Jan 11, 2022
|
parent
|
context
|
favorite
| on:
CSS Gradients that avoid the “gray dead zone”
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.
floatingatoll
on Jan 11, 2022
[–]
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: