Changes between Version 60 and Version 61 of Help/Styles/MapCSSImplementation


Ignore:
Timestamp:
2014-05-29T17:20:14+02:00 (12 years ago)
Author:
bastiK
Comment:

move color def to one place

Legend:

Unmodified
Added
Removed
Modified
  • Help/Styles/MapCSSImplementation

    v60 v61  
    899899'' '''Color''' ''
    900900 * named color as found in [http://www.w3.org/TR/css3-color/#svg-color this] list
    901  * html style: '''{{{#ff0000}}}'''
    902  * '''{{{rgb(0.0, 1.0 , 0.2)}}}''' - rgb value with arguments from 0.0 to 1.0
     901 * html style: '''{{{#RRGGBB}}}''', '''{{{#RGB}}}''', '''{{{#RRGGBBAA}}}'''
     902 * '''{{{rgb(/*r*/, /*g*/, /*b*/)}}}''' - rgb value with arguments from 0.0 to 1.0
     903 * '''{{{rgba(/*r*/, /*g*/, /*b*/, /*alpha*/)}}}''' - rgb value with alpha
     904 * '''{{{hsb_color(/*hue*/, /*saturation*/, /*brightness*/)}}}''' - color from HSB color space
    903905
    904906'' '''Opacity''' ''
     
    911913 * integer or floating point (in simple form e.g. 0.3). In general can be negative, but most properties do not support negative numbers
    912914 * has a special meaning if you put a "+" sign in front (relative width)
    913 
    914 === Color syntaxes ===
    915 You may specify a color using `#RGB`, `#RRGGBB`, `#RRGGBBAA`, `rgb(/*red between 0.0 and 1.0*/, /*green*/, /*blue*/)`, `rgba(/*r*/, /*g*/, /*b*/, /*alpha*/)`, `hsb_color(/*hue*/, /*saturation*/, /*brightness*/)`.
    916 
    917915
    918916== Eval expressions ==