Skip to content

Commit b4b51c8

Browse files
committedOct 21, 2020
[css-color-4] out of range values for profiled colors, #3845
1 parent aa42600 commit b4b51c8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
 

‎css-color-4/Overview.bs

+17
Original file line numberDiff line numberDiff line change
@@ -2550,6 +2550,23 @@ Profiled, Device-dependent Colors</h2>
25502550
<dl class=switch>
25512551
<dt>If the colorspace takes numeric parameters
25522552
<dd>
2553+
2554+
For custom colorspaces,
2555+
specified component values
2556+
less than 0 or 0%, or greater than 1 or 100%
2557+
are not invalid;
2558+
they are clamped to the valid range at computed value time.
2559+
This is because ICC profiles typically do not accept
2560+
out of range input values.
2561+
2562+
For predefined colorspaces,
2563+
specified component values
2564+
less than 0 or 0%, or greater than 1 or 100%
2565+
are not invalid;
2566+
these out of gamut colors
2567+
are gamut mapped to the valid range at computed value time,
2568+
with a relative colorimetric intent.
2569+
25532570
If more <<number>>s or <<percentage>>s are provided than parameters that the colorspace takes,
25542571
the excess <<number>>s at the end are ignored.
25552572
The color is still a [=valid color=].

0 commit comments

Comments
 (0)
Please sign in to comment.