SVG Colors : Différence entre versions

De BlueWiki
 
(5 révisions intermédiaires par un utilisateur sont masquées)
Ligne 1 : Ligne 1 :
[[Composant_Graphe_SVG-EN#Commands|Component Command List ]]
+
[[Composant_Graphe_SVG-EN#Commands|Component Command List ]] - [[Couleurs_en_SVG|Version française]]
  
[[Couleurs_en_SVG|Version française]]
+
SVG allows any alternative syntaxes for the colors defined in the CSS2 standard
 
+
Le SVG reconnaît toutes les syntaxes alternatives pour les couleurs définies dans la norme CSS2
+
  
 
The color can be expressed in the following ways :
 
The color can be expressed in the following ways :
Ligne 11 : Ligne 9 :
 
  #rvb(100%,0%,0%)
 
  #rvb(100%,0%,0%)
  
Pour obtenir une couleur à l'un de ces format à partir d'une couleur 4D vous pouvez utiliser la commande "[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]" du composant SVG
+
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
 +
 
 +
 
 +
SVG also admits an extensive list of keywords color names, such as "red".
  
 +
Follow this link for the list of colors and their names : [http://www.w3.org/TR/SVG/types.html#ColorKeywords SVG standard list of colors]
  
Le SVG admet également une liste étendue de mots-clés de noms de couleur, par exemple "red".
 
  
Vous trouverez dans ce lien la liste des couleurs et leur nom : [http://www.w3.org/TR/SVG/types.html#ColorKeywords Liste des couleurs SVG normalisées]
+
You can get this color list by the "[[SGR_GetSVGColors-EN|SGR_GetSVGColors]]" command

Version actuelle en date du 30 juin 2014 à 22:37

Component Command List - Version française

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


You can get this color list by the "SGR_GetSVGColors" command