argyleink / hd-color-bugs

a stash of issues and bugs found while using new HD color functions in CSS
1 stars 0 forks source link

`oklch` gradients arent working as advertised #6

Open argyleink opened 1 year ago

argyleink commented 1 year ago

https://codepen.io/argyleink/pen/rNKYqmy

Screen Shot 2022-11-18 at 1 14 18 PM
  1. top is oklch blue to oklch white (100% lightness) yet it doesnt end at white
  2. middle is blue to white in oklch, which goes green and yellow
  3. bottom is what i expect, a smooth blue to white as computed with colorjs