ZVON > References > CSS2 Reference

Go to Standard
Property: color
Inherited: yes
Value: <color> | inherit
Initial: depends on user agent
Applies to: all elements
Media: visual
Percentages: N/A

Examples:



     <AAA> aa
          <BBB>bbbb</BBB>
          <CCC>cccc</CCC>
          <DDD>dddd</DDD> aa
     </AAA>
View
AAA {color: blue}
BBB {color: #00FF00}
CCC {color: rgb(128,0,0)}
DDD {color: inherit}


     <AAA>
          <aqua>aqua</aqua>
          <black>black</black>
          <blue>blue</blue>
          <fuchsia>fuchsia</fuchsia>
          <gray>gray</gray>
          <green>green</green>
          <lime>lime</lime>
          <maroon>maroon</maroon>
          <navy>navy</navy>
          <olive>olive</olive>
          <purple>purple</purple>
          <red>red</red>
          <silver>silver</silver>
          <teal>teal</teal>
          <white>white</white>
          <yellow>yellow</yellow>
     </AAA>
View
AAA {background-color:#AAAAAA}
aqua {color:aqua}
black {color:black}
blue {color:blue}
fuchsia {color:fuchsia}
gray {color:gray}
green {color:green}
lime {color:lime}
maroon {color:maroon}
navy {color:navy}
olive {color:olive}
purple {color:purple}
red {color:red}
silver {color:silver}
teal {color:teal}
white {color:white}
yellow {color:yellow}


     <AAA>
          <black>#000000</black>
          <white>#FFFFFF</white>
          <red>#FF0000</red>
          <green>#00FF00</green>
          <blue>#0000FF</blue>
          <color>#AA4488</color>
     </AAA>
View
AAA {background-color: #AAAAAA}
black {color:#000000}
white {color:#FFFFFF}
red {color:#FF0000}
green {color:#00FF00}
blue {color:#0000FF}
color {color:#AA4488}


     <AAA>
          <ActiveBorder>ActiveBorder</ActiveBorder>
          <ActiveCaption>ActiveCaption</ActiveCaption>
          <AppWorkspace>AppWorkspace</AppWorkspace>
          <Background>Background</Background>
          <ButtonFace>ButtonFace</ButtonFace>
          <ButtonHighlight>ButtonHighlight</ButtonHighlight>
          <ButtonShadow>ButtonShadow</ButtonShadow>
          <ButtonText>ButtonText</ButtonText>
          <CaptionText>CaptionText</CaptionText>
          <GrayText>GrayText</GrayText>
          <Highlight>Highlight</Highlight>
          <HighlightText>HighlightText</HighlightText>
          <InactiveBorder>InactiveBorder</InactiveBorder>
          <InactiveCaption>InactiveCaption</InactiveCaption>
          <InactiveCaptionText>InactiveCaptionText</InactiveCaptionText>
          <InfoBackground>InfoBackground</InfoBackground>
          <InfoText>InfoText</InfoText>
          <Menu>Menu</Menu>
          <MenuText>MenuText</MenuText>
          <Scrollbar>Scrollbar</Scrollbar>
          <ThreeDDarkShadow>ThreeDDarkShadow</ThreeDDarkShadow>
          <ThreeDFace>ThreeDFace</ThreeDFace>
          <ThreeDHighlight>ThreeDHighlight</ThreeDHighlight>
          <ThreeDLightShadow>ThreeDLightShadow</ThreeDLightShadow>
          <ThreeDShadow>ThreeDShadow</ThreeDShadow>
          <Window>Window</Window>
          <WindowFrame>WindowFrame</WindowFrame>
          <WindowText>WindowText</WindowText>
     </AAA>
View
AAA {background-color:#252525}
ActiveBorder {color:ActiveBorder}
ActiveCaption {color:ActiveCaption }
AppWorkspace {color:AppWorkspace}
Background {color:Background}
ButtonFace {color:ButtonFace}
ButtonHighlight {color: ButtonHighlight}
ButtonShadow {color:ButtonShadow}
ButtonText {color:ButtonText}
CaptionText {color:CaptionText}
GrayText {color:GrayText}
Highlight {color:Highlight}
HighlightText {color:HighlightText}
InactiveBorder {color:InactiveBorder}
InactiveCaption {color:InactiveCaption}
InactiveCaptionText {color:InactiveCaptionText}
InfoBackground {color:InfoBackground}
InfoText {color:InfoText}
Menu {color:Menu }
MenuText {color:MenuText}
Scrollbar {color:Scrollbar}
ThreeDDarkShadow {color:ThreeDDarkShadow}
ThreeDFace {color:ThreeDFace}
ThreeDHighlight {color:ThreeDHighlight}
ThreeDLightShadow {color:ThreeDLightShadow}
ThreeDShadow {color:ThreeDShadow }
Window {color:Window}
WindowFrame {color:WindowFrame}
WindowText {color:WindowText}


     <AAA>
          <BBB>bbb</BBB>
          <CCC>ccc
               <DDD>ddd</DDD>
          </CCC>
     </AAA>
View
BBB {color:red}
CCC {color:blue}
DDD {color:maroon}


     <AAA>
          <BBB>bbb</BBB>
          <CCC>ccc
               <DDD>ddd</DDD>
          </CCC>
     </AAA>
View
* {color:red}



_____________________________________________
Reference Search | Sitemap | XML Glossary       ZVON | Systinet