@@ -3124,7 +3124,7 @@ Profiled, Device-dependent Colors</h2>
3124
3124
Its syntax is:
3125
3125
3126
3126
<pre class='prod'>
3127
- <dfn>color()</dfn> = color( [ [<<ident>> | <<dashed-ident>> ] [ <<number-percentage>> + | <<string>> ] [ / <<alpha-value>> ]? ]# , <<color>> ? )
3127
+ <dfn>color()</dfn> = color( [ [<<ident>> | <<dashed-ident>> ] [ <<number-percentage>> + ] [ / <<alpha-value>> ]? ]# , <<color>> ? )
3128
3128
</pre>
3129
3129
3130
3130
<wpt>
@@ -3185,49 +3185,34 @@ Profiled, Device-dependent Colors</h2>
3185
3185
this argument represents an <a>invalid color</a> .
3186
3186
3187
3187
3188
- * Either one or more <<number>> s or <<percentage>> s providing the parameter values that the colorspace takes,
3189
- or a <<string>> giving the name of a color defined by the colorspace.
3190
-
3191
- <dl class=switch>
3192
- <dt> If the colorspace takes numeric parameters
3193
- <dd>
3194
-
3195
- For custom colorspaces,
3196
- specified component values
3197
- less than 0 or 0%, or greater than 1 or 100%
3198
- are not invalid;
3199
- they are clamped to the valid range at computed value time.
3200
- This is because ICC profiles typically do not accept
3201
- out of range input values.
3202
-
3203
- For predefined colorspaces,
3204
- specified component values
3205
- less than 0 or 0%, or greater than 1 or 100%
3206
- are not invalid;
3207
- these out of gamut colors
3208
- are gamut mapped to the valid range at computed value time,
3209
- with a relative colorimetric intent.
3210
-
3211
- If more <<number>> s or <<percentage>> s are provided than parameters that the colorspace takes,
3212
- the excess <<number>> s at the end are ignored.
3213
- The color is still a [=valid color=] .
3214
-
3215
- If fewer <<number>> s or <<percentage>> s are provided than parameters that the colorspace takes,
3216
- the missing parameters default to ''0'' .
3217
- (This is particularly convenient for multichannel printers
3218
- where the additional inks are spot colors or varnishes
3219
- that most colors on the page won't use.)
3220
- The color is still a [=valid color=] .
3221
-
3222
- If a <<string>> is provided,
3223
- this argument represents an <a>invalid color</a> .
3224
- <dt> If the colorspace defines named colors
3225
- <dd>
3226
- If <<number>> s or <<percentage>> s are provided,
3227
- or a <<string>> is provided that doesn't match any of the color names
3228
- defined by the colorspace,
3229
- this argument represents an <a>invalid color</a> .
3230
- </dl>
3188
+ * One or more <<number>> s or <<percentage>> s providing the parameter values that the colorspace takes.
3189
+
3190
+ For custom colorspaces,
3191
+ specified component values
3192
+ less than 0 or 0%, or greater than 1 or 100%
3193
+ are not invalid;
3194
+ they are clamped to the valid range at computed value time.
3195
+ This is because ICC profiles typically do not accept
3196
+ out of range input values.
3197
+
3198
+ For predefined colorspaces,
3199
+ specified component values
3200
+ less than 0 or 0%, or greater than 1 or 100%
3201
+ are not invalid;
3202
+ these out of gamut colors
3203
+ are gamut mapped to the valid range at computed value time,
3204
+ with a relative colorimetric intent.
3205
+
3206
+ If more <<number>> s or <<percentage>> s are provided than parameters that the colorspace takes,
3207
+ the excess <<number>> s at the end are ignored.
3208
+ The color is still a [=valid color=] .
3209
+
3210
+ If fewer <<number>> s or <<percentage>> s are provided than parameters that the colorspace takes,
3211
+ the missing parameters default to ''0'' .
3212
+ (This is particularly convenient for multichannel printers
3213
+ where the additional inks are spot colors or varnishes
3214
+ that most colors on the page won't use.)
3215
+ The color is still a [=valid color=] .
3231
3216
3232
3217
* An optional slash-separated <<alpha-value>> .
3233
3218
This is interpreted the same way as the <<alpha-value>> in ''rgb()'' ,
0 commit comments