Difference between revisions of "Template:Note:CSS Color"

From HSYCO
Jump to navigation Jump to search
 
Line 1: Line 1:
{{note|A '''css color''' can be specified as  
+
{{note|A '''CSS color''' can be specified as  
 
*hex value: ''#<rr><gg><bb>'' E.g. ''#FF1010''
 
*hex value: ''#<rr><gg><bb>'' E.g. ''#FF1010''
 
*color name: red, blue, white...
 
*color name: red, blue, white...

Latest revision as of 13:11, 24 February 2014

A CSS color can be specified as
  • hex value: #<rr><gg><bb> E.g. #FF1010
  • color name: red, blue, white...
  • as rgb: rgb(<r>,<g>,<b>) E.g. rgb(255,30,30)
  • as rgba: rgba(<r>,<g>,<b>,<alpha>) E.g. rgba(255,30,30,0.5)