File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5253,6 +5253,10 @@ Gamut Mapping
5253
5253
5254
5254
<ol>
5255
5255
<li> let |origin_OKLCH| be |origin| converted to the OKLCH color space</li>
5256
+ <li> if the Lightness of |origin_OKLCH| is greater than or equal to 100%,
5257
+ return { 1 1 1 origin.alpha } in |destination|</li>
5258
+ <li> if the Lightness of |origin_OKLCH| is less than than or equal to 0%,
5259
+ return { 0 0 0 origin.alpha } in |destination|</li>
5256
5260
<li> let inGamut(|color|) be a function which returns true if, when passed a color,
5257
5261
that color is inside the gamut of |destination|
5258
5262
</li>
@@ -5275,7 +5279,7 @@ Gamut Mapping
5275
5279
<ol>
5276
5280
<li> set |clipped| to clip(|current|)</li>
5277
5281
<li> set |E| to delta(|clipped|, |current|)</li>
5278
- <li> if |E| < |JND| convert |clipped| to |destination| and return it as the gamut mapped color</li>
5282
+ <li> if |E| < |JND| return |clipped| as the gamut mapped color</li>
5279
5283
<li> otherwise, set |max| to |chroma| and continue to repeat these steps</li>
5280
5284
</ol>
5281
5285
</li>
You can’t perform that action at this time.
0 commit comments