Chapter 4 - Color units - 4.2.1 RGB color values
Go to the relevant page of the specification.
- t32-opacity-basic-0.6-a
-
opacity
Opacity of 0.6 makes box partially opaque. Colors are in sRGB color space (may test). - t421-rgb-clip-outside-gamut-b
-
rgb() clipping outside device gamut
Test clipping of rgb() values outside the device gamut. - t421-rgb-func-int-a
-
rgb() colors
Test that rgb() values produce correct colors. - t421-rgb-func-no-mixed-f (invalid)
-
no mixed rgb() values
Test that rgb() values are only accepted when all integers or all percentages. - t421-rgb-func-pct-a
-
rgb() colors
Test that rgb() values produce correct colors. - t421-rgb-func-whitespace-b
-
whitespace in rgb() values
Test that whitespace is allowed within rgb() functions. - t421-rgb-hex-parsing-f (invalid)
-
parsing of hexidecimal color values
Test that hexidecimal values are only accepted if they have 3 or six digits. - t421-rgb-hex3-a
-
#rgb colors
Test that #rgb values produce correct colors. - t421-rgb-hex3-expand-b
-
expansion of #rgb colors to #rrggbb
Test that 3-digit #rgb values are expanded into #rrggbb and not #r0g0b0 - t421-rgb-hex6-a
-
#rrggbb colors
Test that #rrggbb values produce correct colors. - t421-rgb-values-meaning-b
-
rgb values
Test that the color components in rgb colors are interpreted correctly. - t422-rgba-a0.6-a
-
rgba() colors
Opacity of 0.6 makes text partially opaque. Colors are in sRGB color space (may test).