Skip to content

Commit ef3269f

Browse files
committed
[css-color-4] Fix #4703 & improve diagram
1 parent c8dd99f commit ef3269f

File tree

2 files changed

+37
-12
lines changed

2 files changed

+37
-12
lines changed

css-color-4/Overview.bs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1966,12 +1966,11 @@ Specifying Lab and LCH: the ''lab()'' and ''lch()'' functional notations</h3>
19661966
but doesn't map hues to angles in the same way
19671967
because they are evenly spaced perceptually.
19681968
Instead, ''0deg'' points along the positive "a" axis (toward purplish red),
1969+
(as does ''360deg'', ''720deg'', etc.);
19691970
''90deg'' points along the positive "b" axis (toward mustard yellow),
19701971
''180deg'' points along the negative "a" axis (toward greenish cyan),
19711972
and ''270deg'' points along the negative "b" axis (toward sky blue).
1972-
If the provided value is negative,
1973-
or is greater than or equal to ''360deg'',
1974-
it is set to the value modulo 360.
1973+
19751974

19761975
<!-- add diagram showing hue angles in LCH for RGB primaries and secondaries in sRGB, P3, and Rec.2020 -->
19771976

css-color-4/images/CH-plane-wheel.svg

+35-9
Loading

0 commit comments

Comments
 (0)