CSS1 Test Suite: 6.3 Color Units


[Previous] [Next] [Section] [Contents] [Specification]

The style declarations which apply to the text below are:

BODY {color: black;}
.one {color: #080;}
.two {color: #008000;}
.three {color: rgb(0,128,0);}
.four {color: rgb(0%,50%,0%);}
.five {color: rgb(0.0%,50.0%,0.0%);}
.six {color: green;}
.seven {color: invalidValue;}
.eight {color: rgb(0,128,1280);}
.nine {color: rgb(0,128,255);}
.ten {color: rgb(50%,-500%,60%);}
.eleven {color: rgb(50%,0%,60%);}

This sentence should be black.

This sentence should be green, although slightly different from those that follow.

This sentence should be green.

This sentence should be green.

This sentence should be green.

This sentence should be green.

This sentence should be green.

This sentence should be black, because the value given for class .seven is invalid.

This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next paragraph.

This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous paragraph.

This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph.

This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous paragraph.

This sentence should be black.

This sentence should be a slightly different green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

TABLE Testing Section
 

This sentence should be black.

This sentence should be green, although slightly different from those that follow.

This sentence should be green.

This sentence should be green.

This sentence should be green.

This sentence should be green.

This sentence should be green.

This sentence should be black, because the value given for class .seven is invalid.

This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next paragraph.

This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous paragraph.

This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph.

This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous paragraph.

This sentence should be black.

This sentence should be a slightly different green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.

This sentence should be green, and used the style attribute.


[Previous] [Next] [Section] [Contents] [Specification]