10 ms·
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 i
by tvanantwerp 5y 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.
- floatingatoll 5y agoYour wish is granted by w3/css-color-4: § 12.1 Color space for interpolation https://www.w3.org/TR/css-color-4/#interpolation-space https://www.w3.org/TR/css-color-4/#interpolation-space