CSS2.1 Conformance Test Suite

Chapter 14 - Colors and Backgrounds (171 tests)

Test Flags
14 Colors and Backgrounds
14.1 Foreground color: the 'color' property
Color set to hex with 5 digits which is invalid and is equivalent to minimum minus one value for 6 digit hex Ainvalid
The 'color' set to '#00000' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with six digits with the minimum value, #000000 A
The 'color' set to '#000000' renders the correct foreground color of an element's text content.
Color set to hex with six digits with the minimum plus one value, #010101 A
The 'color' set to '#010101' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a nominal value #999999 A
The 'color' set to '#999999' renders the correct foreground color of an element's text content.
Color set to hex with six digits with the maximum minus one value of #fefefe A
The 'color' set to '#fefefe' renders the correct foreground color of an element's text content.
Color set to hex with six digits with the maximum value of #ffffff A
The 'color' set to '#ffffff' renders the correct foreground color of an element's text content.
Color set to hex with six digits with the maximum plus one value of #1000000 Ainvalid
The 'color' set to '#1000000' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with six digits with the maximum plus one value of #fgfgfg Ainvalid
The 'color' set to '#fgfgfg' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with six digits with a red set to minimum plus one value, #010000 A
The 'color' set to '#010000' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a red set to a nominal value, #990000 A
The 'color' set to '#990000' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a red set to maximum minus one value, #fe0000 A
The 'color' set to '#fe0000' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a red set to the maximum value, #ff0000 A
The 'color' set to '#ff0000' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a red set to the maximum plus one value, #fg0000 Ainvalid
The 'color' set to '#fg0000' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with six digits with a green set to minimum plus one value, #000100 A
The 'color' set to '#000100' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a green set to a nominal value, #009900 A
The 'color' set to '#009900' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a green set to maximum minus one value, #00fe00 A
The 'color' set to '#00fe00' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a green set to the maximum value, #00ff00 A
The 'color' set to '#00ff00' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a green set to the maximum plus one value, #00fg00 Ainvalid
The 'color' set to '#00fg00' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with six digits with a blue set to minimum plus one value, #000001 A
The 'color' set to '#000001' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a blue set to a nominal value, #000099 A
The 'color' set to renders the correct foreground color of an element's text content.
Color set to hex with six digits with a blue set to maximum minus one value, #0000fe A
The 'color' set to '#0000fe' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a blue set to the maximum value, #0000ff A
The 'color' set to '#0000ff' renders the correct foreground color of an element's text content.
Color set to hex with six digits with a blue set to the maximum plus one value, #0000fg Ainvalid
The 'color' set to '#0000fg' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with 2 digits which is invalid and is equivalent to minimum minus one value for 3 digit hex Ainvalid
The 'color' set to '#00' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with three digits with the minimum possible value #000 A
The 'color' set to '#000' renders the correct foreground color of an element's text content.
Color set to hex with three digits with the minimum plus one value, #111 A
The 'color' set to '#111' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a nominal value #999 A
The 'color' set to '#999' renders the correct foreground color of an element's text content.
Color set to hex with three digits with the maximum minus one value of #eee A
The 'color' set to '#eee' renders the correct foreground color of an element's text content.
Color set to hex with three digits with the maximum value of #fff A
The 'color' set to '#fff' renders the correct foreground color of an element's text content.
Color set to hex with three digits with the maximum plus one value of #1000 Ainvalid
The 'color' set to '#1000' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with three digits with the maximum plus one value of #ggg Ainvalid
The 'color' set to '#ggg' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with three digits with a red set to minimum plus one value, #100 A
The 'color' set to '#100' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a red set to a nominal value, #900 A
The 'color' set to '#900' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a red set to maximum minus one value, #e00 A
The 'color' set to '#e00' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a red set to the maximum value, #f00 A
The 'color' set to '#f00' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a red set to the maximum plus one value, #g00 Ainvalid
The 'color' set to '#g00' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with three digits with a green set to minimum plus one value, #010 A
The 'color' set to '#010' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a green set to a nominal value, #090 A
The 'color' set to '#090' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a green set to maximum minus one value, #0e0 A
The 'color' set to '#0e0' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a green set to the maximum value, #0f0 A
The 'color' set to '#0f0' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a green set to the maximum plus one value, #0g0 Ainvalid
The 'color' set to '#0g0' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to hex with three digits with a blue set to minimum plus one value, #001 A
The 'color' set to '#001' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a blue set to a nominal value, #009 A
The 'color' set to '#009' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a blue set to maximum minus one value, #00e A
The 'color' set to '#00e' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a blue set to the maximum value, #00f A
The 'color' set to '#00f' renders the correct foreground color of an element's text content.
Color set to hex with three digits with a blue set to the maximum plus one value, #00g Ainvalid
The 'color' set to '#00g' falls back to the initial value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with the minimum minus one value, rgb(-1%, -1%, -1%) Ainvalid
The 'color' set to 'rgb(-1%, -1%, -1%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with the minimum value, rgb(0%, 0%, 0%) A
The 'color' set to 'rgb(0%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with the minimum plus one value, rgb(1%, 1%, 1%) A
The 'color' set to 'rgb(1%, 1%, 1%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with the minimum value and minus sign, rgb(-0%, -0%, -0%) A
The 'color' set to 'rgb(-0%, -0%, -0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with the minimum value and plus sign, rgb(+0%, +0%, +0%) A
The 'color' set to 'rgb(+0%, +0%, +0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with a nominal value, rgb(50%, 50%, 50%) A
The 'color' set to 'rgb(50%, 50%, 50%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with a nominal value and a plus sign, rgb(+50%, +50%, +50%) A
The 'color' set to 'rgb(+50%, +50%, +50%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%) A
The 'color' set to 'rgb(99%, 99%, 99%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with a maximum value, rgb(100%, 100%, 100%) A
The 'color' set to 'rgb(100%, 100%, 100%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with plus sign on each maximum value, rgb(+100%, +100%, +100%) A
The 'color' set to 'rgb(+100%, +100%, +100%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with a maximum plus one value, rgb(101%, 101%, 101%) Ainvalid
The 'color' set to 'rgb(101%, 101%, 101%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with the minimum minus one value, rgb(-1, -1, -1) Ainvalid
The 'color' set to 'rgb(-1, -1, -1)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with the minimum value, rgb(0, 0, 0) A
The 'color' set to 'rgb(0, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with the minimum plus one value, rgb(1, 1, 1) A
The 'color' set to 'rgb(1, 1, 1)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with the minimum value and minus sign, rgb(-0, -0, -0) A
The 'color' set to 'rgb(-0, -0, -0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with the minimum value and plus sign, rgb(+0, +0, +0) A
The 'color' set to 'rgb(+0, +0, +0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with a nominal value, rgb(128, 128, 128) A
The 'color' set to 'rgb(128, 128, 128)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with a nominal value and a plus sign, rgb(+128, +128, +128) A
The 'color' set to 'rgb(+128, +128, +128)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with a maximum minus one value, rgb(254, 254, 254) A
The 'color' set to 'rgb(254, 254, 254)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with a maximum value, rgb(255, 255, 255) A
The 'color' set to 'rgb(255, 255, 255)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with a maximum value and a plus sign, rgb(+255, +255, +255) A
The 'color' set to 'rgb(+255, +255, +255)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with a maximum plus one value, rgb(256, 256, 256) Ainvalid
The 'color' set to 'rgb(256, 256, 256)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to the minimum minus one value, rgb(-1%, 0%, 0%) Ainvalid
The 'color' set to 'rgb(-1%, 0%, 0%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%) A
The 'color' set to 'rgb(1%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to the minimum value and minus sign, rgb(-0%, 0%, 0%) A
The 'color' set to 'rgb(-0%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to the minimum value and plus sign, rgb(+0%, 0%, 0%) A
The 'color' set to 'rgb(+0%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to a nominal value, rgb(50%, 0%, 0%) A
The 'color' set to 'rgb(50%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+50%, 0%, 0%) A
The 'color' set to 'rgb(+50%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%) A
The 'color' set to 'rgb(99%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to a maximum value, rgb(100%, 0%, 0%) A
The 'color' set to 'rgb(100%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to a maximum value with a plus sign, rgb(+100%, 0%, 0%) A
The 'color' set to 'rgb(+100%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with red set to a maximum plus one value, rgb(101%, 0%, 0%) Ainvalid
The 'color' set to 'rgb(101%, 0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to the minimum minus one value, rgb(-1, 0, 0) Ainvalid
The 'color' set to 'rgb(-1, 0, 0)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to the minimum plus one value, rgb(1, 0, 0) A
The 'color' set to 'rgb(1, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to the minimum value with a minus sign, rgb(-0, 0, 0) A
The 'color' set to 'rgb(-0, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to the minimum value with a plus sign, rgb(+0, 0, 0) A
The 'color' set to 'rgb(+0, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to a nominal value, rgb(128, 0, 0) A
The 'color' set to 'rgb(128, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to a nominal value with a plus sign, rgb(+128, 0, 0) A
The 'color' set to 'rgb(+128, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to a maximum minus one value, rgb(254, 0, 0) A
The 'color' set to 'rgb(254, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to a maximum value, rgb(255, 0, 0) A
The 'color' set to 'rgb(255, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to a maximum value with a plus sign, rgb(+255, 0, 0) A
The 'color' set to 'rgb(+255, 0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with red set to a maximum plus one value, rgb(256, 0, 0) Ainvalid
The 'color' set to 'rgb(256, 0, 0)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to the minimum minus one value, rgb(0%, -1%, 0%) Ainvalid
The 'color' set to 'rgb(0%, -1%, 0%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%) A
The 'color' set to 'rgb(0%, 1%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to the minimum value and minus sign, rgb(0%, -0%, 0%) A
The 'color' set to 'rgb(0%, -0%, 0%)' renders the correct foreground color of an element's text content. .
Color set to rgb() using percentages with green set to the minimum value and plus sign, rgb(0%, +0%, 0%) A
The 'color' set to 'rgb(0%, +0%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to a nominal value, rgb(0%, 50%, 0%) A
The 'color' set to 'rgb(0%, 50%, 0%) renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +50%, 0%) A
The 'color' set to 'rgb(0%, +50%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%) A
The 'color' set to 'rgb(0%, 99%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to a maximum value, rgb(0%, 100%, 0%) A
The 'color' set to 'rgb(0%, 100%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to a maximum value with a plus sign, rgb(0%, +100%, 0%) A
The 'color' set to 'rgb(0%, +100%, 0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with green set to a maximum plus one value, rgb(0%, 101%, 0%) Ainvalid
The 'color' set to 'rgb(0%, 101%, 0%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to the minimum minus one value, rgb(0, -1, 0) Ainvalid
The 'color' set to 'rgb(-1, 0, 0)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to the minimum plus one value, rgb(0, 1, 0) A
The 'color' set to 'rgb(0, 1, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to the minimum value with a minus sign, rgb(0, -0, 0) A
The 'color' set to 'rgb(0, -0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to the minimum value with a plus sign, rgb(0, +0, 0) A
The 'color' set to 'rgb(0, +0, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to a nominal value, rgb(0, 128, 0) A
The 'color' set to 'rgb(0, 128, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to a nominal value with a plus sign, rgb(0, +128, 0) A
The 'color' set to 'rgb(0, +128, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to a maximum minus one value, rgb(0, 254, 0) A
The 'color' set to 'rgb(0, 254, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to a maximum value, rgb(0, 255, 0) A
The 'color' set to 'rgb(0, 255, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to a maximum value with a plus sign, rgb(0, +255, 0) A
The 'color' set to 'rgb(0, +255, 0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with green set to a maximum plus one value, rgb(0, 256 0) Ainvalid
The 'color' set to 'rgb(0, 256, 0)' properly truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to the minimum minus one value, rgb(0%, 0%, -1%) Ainvalid
The 'color' set to 'rgb(0%, 0%, -1%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%) A
The 'color' set to 'rgb(0%, 0%, 1%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to the minimum value and minus sign, rgb(0%, 0%, -0%) A
The 'color' set to 'rgb(0%, 0%, -0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to the minimum value and plus sign, rgb(0%, 0%, +0%) A
The 'color' set to 'rgb(0%, 0%, +0%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 50%) A
The 'color' set to 'rgb(0%, 0%, 50%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +50%) A
The 'color' set to 'rgb(0%, 0%, +50%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%) A
The 'color' set to 'rgb(0%, 0%, 99%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to a maximum value, rgb(0%, 0%, 100%) A
The 'color' set to 'rgb(0%, 0%, 100%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to a maximum value with a plus sign, rgb(0%, 0%, +100%) A
The 'color' set to 'rgb(0%, 0%, +100%)' renders the correct foreground color of an element's text content.
Color set to rgb() using percentages with blue set to a maximum plus one value, rgb(0%, 0%, 101%) Ainvalid
The 'color' set to 'rgb(0%, 0%, 101%)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to the minimum minus one value, rgb(0, 0, -1) Ainvalid
The 'color' set to 'rgb(0, 0, -1)' truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to the minimum plus one value, rgb(0, 0, 1) A
The 'color' set to 'rgb(0, 0, 1)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to the minimum value with a minus sign, rgb(0, 0, -0) A
The 'color' set to 'rgb(0, 0, -0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to the minimum value with a plus sign, rgb(0, 0, +0) A
The 'color' set to 'rgb(0, 0, +0)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to a nominal value, rgb(0, 0, 128) A
The 'color' set to 'rgb(0, 0, 128)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to a nominal value with a plus sign, rgb(0, 0, +128) A
The 'color' set to 'rgb(0, 0, +128)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to a maximum minus one value, rgb(0, 0, 254) A
The 'color' set to 'rgb(0, 0, 254)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to a maximum value, rgb(0, 0, 255) A
The 'color' set to 'rgb(0, 0, 255)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to a maximum value with a plus sign, rgb(0, 0, +255) A
The 'color' set to 'rgb(0, 0, +255)' renders the correct foreground color of an element's text content.
Color set to rgb() using integers with blue set to a maximum plus one value, rgb(0, 0, 256) Ainvalid
The 'color' set to 'rgb(0, 0, 256)' properly truncates to a valid value and renders the correct foreground color of an element's text content.
Color set to aqua A
The 'color' set to 'aqua' renders the correct foreground color of an element's text content.
Color set to black A
The 'color' set to 'black' renders the correct foreground color of an element's text content.
Color set to blue A
The 'color' set to 'blue' renders the correct foreground color of an element's text content.
Color set to fuchsia A
The 'color' set to 'fuchsia' renders the correct foreground color of an element's text content.
Color set to gray A
The 'color' set to 'gray' renders the correct foreground color of an element's text content.
Color set to green A
The 'color' set to 'green' renders the correct foreground color of an element's text content.
Color set to lime A
The 'color' set to 'lime' renders the correct foreground color of an element's text content.
Color set to maroon A
The 'color' set to 'maroon' renders the correct foreground color of an element's text content.
Color set to navy A
The 'color' set to 'navy' renders the correct foreground color of an element's text content.
Color set to olive A
The 'color' set to 'olive' renders the correct foreground color of an element's text content.
Color set to orange A
The 'color' set to 'orange' renders the correct foreground color of an element's text content.
Color set to purple A
The 'color' set to 'purple' renders the correct foreground color of an element's text content.
Color set to red A
The 'color' set to 'red' renders the correct foreground color of an element's text content.
Color set to silver A
The 'color' set to 'silver' renders the correct foreground color of an element's text content.
Color set to teal A
The 'color' set to 'teal' renders the correct foreground color of an element's text content.
Color set to white A
The 'color' set to 'white' renders the correct foreground color of an element's text content.
Color set to yellow A
The 'color' set to 'yellow' renders the correct foreground color of an element's text content.
Color set to 'inherit' A
The 'color' set to 'inherit' adopts the foreground color of an element's parent container.
Applying color to elements split by bidi
Color should be applied only to the part of the text it has been specified for, even after bidi has rearranged the words to be non-consecutive
Inheritance
color
14.2 The background
The Canvas
14.2.1 Background properties: 'background-color', 'background-image', 'background-repeat', 'background-attachment', 'background-position', and 'background'
Replaced Elements AG
background-color
background-color
background-image
background-image G
background-repeat AG
background-repeat AG
background-repeat AG
background-repeat AG
background-repeat AG
background-repeat AG
background-repeat AG
background-repeat AG
background-attachment G
background-position AG
background-position AG
background AG
float G
float G
float G
clear G
14.3 Gamma correction