1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite: 6.3 Color Units</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css">
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
9 <STYLE type="text/css">
12 .two {color: #008000;}
13 .three {color: rgb(0,128,0);}
14 .four {color: rgb(0%,50%,0%);}
15 .five {color: rgb(0.0%,50.0%,0.0%);}
17 .seven {color: invalidValue;}
18 .eight {color: rgb(0,128,1280);}
19 .nine {color: rgb(0,128,255);}
20 .ten {color: rgb(50%,-500%,60%);}
21 .eleven {color: rgb(50%,0%,60%);}</STYLE>
25 <BODY><P>The style declarations which apply to the text below are:</P>
26 <PRE>BODY {color: black;}
28 .two {color: #008000;}
29 .three {color: rgb(0,128,0);}
30 .four {color: rgb(0%,50%,0%);}
31 .five {color: rgb(0.0%,50.0%,0.0%);}
33 .seven {color: invalidValue;}
34 .eight {color: rgb(0,128,1280);}
35 .nine {color: rgb(0,128,255);}
36 .ten {color: rgb(50%,-500%,60%);}
37 .eleven {color: rgb(50%,0%,60%);}
41 This sentence should be black.
44 This sentence should be green, although slightly different from those that follow.
47 This sentence should be green.
50 This sentence should be green.
53 This sentence should be green.
56 This sentence should be green.
59 This sentence should be green.
62 This sentence should be black, because the value given for class <CODE>.seven</CODE> is invalid.
65 This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next paragraph.
68 This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous paragraph.
71 This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph.
74 This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous paragraph.
77 This sentence should be black.
79 <P STYLE="color: #080;">
80 This sentence should be a slightly different green, and used the <TT>style</TT> attribute.
82 <P STYLE="color: #008000;">
83 This sentence should be green, and used the <TT>style</TT> attribute.
85 <P STYLE="color: rgb(0,128,0);">
86 This sentence should be green, and used the <TT>style</TT> attribute.
88 <P STYLE="color: rgb(0%,50%,0%);">
89 This sentence should be green, and used the <TT>style</TT> attribute.
91 <P STYLE="color: rgb(0.0%,50.0%,0.0%);">
92 This sentence should be green, and used the <TT>style</TT> attribute.
94 <P STYLE="color: green;">
95 This sentence should be green, and used the <TT>style</TT> attribute.
99 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
101 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
104 <TD bgcolor="silver"> </TD>
106 This sentence should be black.
109 This sentence should be green, although slightly different from those that follow.
112 This sentence should be green.
115 This sentence should be green.
118 This sentence should be green.
121 This sentence should be green.
124 This sentence should be green.
127 This sentence should be black, because the value given for class <CODE>.seven</CODE> is invalid.
130 This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the next paragraph.
133 This sentence should be a shade of blue-green which, on a typical RGB computer display, exactly matches the previous paragraph.
136 This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the next paragraph.
139 This sentence should be a shade of purple which, on a typical RGB computer display, exactly matches the previous paragraph.
142 This sentence should be black.
144 <P STYLE="color: #080;">
145 This sentence should be a slightly different green, and used the <TT>style</TT> attribute.
147 <P STYLE="color: #008000;">
148 This sentence should be green, and used the <TT>style</TT> attribute.
150 <P STYLE="color: rgb(0,128,0);">
151 This sentence should be green, and used the <TT>style</TT> attribute.
153 <P STYLE="color: rgb(0%,50%,0%);">
154 This sentence should be green, and used the <TT>style</TT> attribute.
156 <P STYLE="color: rgb(0.0%,50.0%,0.0%);">
157 This sentence should be green, and used the <TT>style</TT> attribute.
159 <P STYLE="color: green;">
160 This sentence should be green, and used the <TT>style</TT> attribute.
162 </TD></TR></TABLE></BODY>