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

From HSYCO
Jump to navigation Jump to search
(Created page with "{{note|An '''html color''' can be specified as *hex value: ''#<rr><gg><bb>'' E.g. ''#FF1010'' *color name: red, blue, white... *as rgb: ''rgb(<r>,<...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{note|An '''html color''' can be specified as  
+
{{note|A '''CSS color''' can be specified as  
 
*hex value: ''#&lt;rr&gt;&lt;gg&gt;&lt;bb&gt;'' E.g. ''#FF1010''
 
*hex value: ''#&lt;rr&gt;&lt;gg&gt;&lt;bb&gt;'' E.g. ''#FF1010''
 
*color name: red, blue, white...
 
*color name: red, blue, white...

Latest revision as of 12: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)