Full version, Basic version, Tiny version

Specification link: 12.2 The 'color' property

animate-elem-85-t ← index → coords-coord-01-t

# color-prop-03-t
SVG Image | PNG Image
color-prop-03-t.svg Test that viewer has the basic capability to render colors, specified as CSS attributes, using any of the equivalent forms. $Revision: 1.5 $ |

Purpose of test is to determine if the color datatype is supported. There are multiple syntaxes for specifying the same color, such as #37F and #3377FF. For each of the six groups shown here, each of the shapes in the group uses one of the syntactical forms and all in the group should be identical in color.

The first row uses five forms - 3-digit hex, 6-digit hex, rbg() integer form, rgb() percentage form, and named ('HTML') colors.

The second row uses only four forms - 3-digit hex, 6-digit hex, rbg() integer form, rgb() percentage form - as there are no HTML or X11 names for those colors.

animate-elem-85-t ← index → coords-coord-01-t