const inRGB = inGamut('rgb')
inRGB({ mode: 'oklch', l: 1, c: 0, h: 0 }) // => false
// white is in sRGB and return should be true
We found this issue in OKLCH color picker.
I can’t remember this issue previously. It could be related to some recent changes, but it is hard to say when exactly (we are using culori version 4.0.1).
We found this issue in OKLCH color picker.
I can’t remember this issue previously. It could be related to some recent changes, but it is hard to say when exactly (we are using culori version
4.0.1).