This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
SVG_Color_grey

SVG_Color_grey 


 

SVG_Color_grey ( percentage ) -> Function result 
Parameter Type   Description
percentage  Integer in Intensity of gray
Function result  String in Color string

The SVG_Color_grey command returns a string expressing a gray color having a percentage intensity. The string returned is in "RGB(red, green, blue)" form where the 3 values are equal, the syntax recognized by SVG rendering engines.

Example  

 $txtColor:=SVG_Color_grey(60)
  `$txtColor is "rgb(102,102,102)"



See also 

SVG_Color_RGB_from_long

 
PROPERTIES 

Product: 4D
Theme: Colors and Gradients
Number: 65924

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: Composant 4D SVG v11.3

 
ARTICLE USAGE

4D SVG Component ( 4D v19)