Using Colors

Using Colors

 

Colors may be specified in any of the following formats:

 

RGB:                "rgb( <red>, <green>, <blue> )"

 

       example: "rgb(255,0,0)"

 

RGBA:                "rgba( <red>, <green>, <blue>, <opacity> )"

 

       example: "rgba(255,0,0,50)"

 

HEX:                "#<red><green><blue>"

 

       example: "#FF0000"

 

SHORT HEX:        "#<red><green><blue>"

 

       example "#F00"