Changes between Version 1 and Version 2 of documentation/RCSS/Syntax
- Timestamp:
- 03/31/08 18:03:30 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/RCSS/Syntax
v1 v2 63 63 * 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. 64 64 * 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 ha vean 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. 66 66 * 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. 67 67 76 76 color: rgb(100%, 0%, 0%); 77 77 color: rgba(100%, 0%, 0%, 100%); 78 color: rgba(255, 0, 0 );78 color: rgba(255, 0, 0, 255); 79 79 }}} 80 80