Re: [csswg-drafts] [css-color-4] Do gradients/animations using lab/lch colors interpolate in the Lab colorspace? (#4647)

Yes, I noticed that too, but I was hoping I could distract you with how much better it looked when chroma in lch[1] was almost 0 :-)

There's no basis to the formula I used other than it seemed to fit - perceptually I don't think it's great for the reasons you've pointed out.

But I do think gradually reducing the contribution of the hue as the chroma decreases is the right approach, rather than any sort of special handling when chroma=0 (which doesn't help when chroma is almost 0). If it has any merit, it's as a testbed.

If I get some time I'll tinker with it to see if I can improve things.




-- 
GitHub Notification of comment by faceless2
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4647#issuecomment-624236255 using your GitHub account

Received on Tuesday, 5 May 2020 18:43:05 UTC