Y
Hacker News
new
|
ask
|
show
|
jobs
by
tvanantwerp
1616 days ago
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.
1 comments
floatingatoll
1616 days ago
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
link
ยง 12.1 Color space for interpolation https://www.w3.org/TR/css-color-4/#interpolation-space