SVG Colors : Différence entre versions
De BlueWiki
Ligne 11 : | Ligne 11 : | ||
#rvb(100%,0%,0%) | #rvb(100%,0%,0%) | ||
− | + | To get one color at one of these formats from a 4D color you can use the command "[http://doc.4d.com/4D-SVG-Component-14-R2/Colors-and-Gradients/SVG-Color-RGB-from-long.301-1517605.en.html SVG_Color_RGB_from_long]" from the SVG Component | |
Version du 30 juin 2014 à 21:17
SVG allows any alternative syntaxes for the colors defined in the CSS2 standard
The color can be expressed in the following ways :
#f00 #ff0000 #rvb(255,0,0) #rvb(100%,0%,0%)
To get one color at one of these formats from a 4D color you can use the command "SVG_Color_RGB_from_long" from the SVG Component
SVG also admits an extensive list of keywords color names, such as "red".
Follow this link for the list of colors and their names : SVG standard list of colors