Changes between Version 1 and Version 2 of documentation/RCSS/Syntax

Show
Ignore:
Author:
robertc (IP: 203.96.63.172)
Timestamp:
03/31/08 18:03:30 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/RCSS/Syntax

    v1 v2  
    6363 * As the name of one of the 16 colours defined in the HTML 4.0 specification (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow), plus grey (alias for gray), orange and transparent. 
    6464 * Prefixed with the '#' character, followed by 3, 4, 6 or 8 hexadecimal digits. 3 or 6 digits represent an RGB triplet, and will have 255 attached as the opacity. If only 3 are specified, each digit will be replicated before being read; for example, #FE0 is equivalent to #FFEE00. 4 or 8 digits allow the specification of a translucent colour. 
    65  * In the format rgb(r, g, b) or rgba(r, g, b, a), where each of red, green, blue (and optionally alpha) is specified as a value from 0 to 255. An rgb value have an alpha of 255 attached. 
     65 * In the format rgb(r, g, b) or rgba(r, g, b, a), where each of red, green, blue (and optionally alpha) is specified as a value from 0 to 255. An rgb value has an alpha of 255 attached. 
    6666 * In the format rgb(r%, g%, b%) or rgba(r%, g%, b%, a%), where each of red, green, blue (and optionally alpha) is specified as a percentage value from 0 to 100. An rgb value will have full opacity. 
    6767 
    7676    color: rgb(100%, 0%, 0%); 
    7777    color: rgba(100%, 0%, 0%, 100%); 
    78     color: rgba(255, 0, 0); 
     78    color: rgba(255, 0, 0, 255); 
    7979}}} 
    8080