Skip to content

Commit c493601

Browse files
committed
[css-color-4] Explain why one JND for Oklab is 0.02, not 2
1 parent fd2710c commit c493601

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

css-color-4/Overview.bs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5450,6 +5450,16 @@ CSS Gamut Mapping to an RGB Destination</h3>
54505450
For the Oklch color space,
54515451
one JND is is an Oklch difference of 0.02.
54525452

5453+
Note: In CIE Lab color space,
5454+
where the range of the Lightness component is 0 to 100,
5455+
using deltaE2000,
5456+
one JND is 2.
5457+
Because the range of Lightness in Oklab and Oklch
5458+
is 0 to 1,
5459+
using deltaEOK,
5460+
one JND is 100 times smaller.
5461+
5462+
54535463
<h4 id="binsearch">
54545464
Sample Pseudocode for the Binary Search Gamut Mapping Algorithm with Local MINDE</h4>
54555465

0 commit comments

Comments
 (0)