4D v14SVG_Color_grey |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14
SVG_Color_grey
|
SVG_Color_grey ( percentage ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
percentage | Integer |
![]() |
Intensity of gray | |||||
Function result | String |
![]() |
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.
$txtColor:=SVG_Color_grey(60)
`$txtColor is "rgb(102,102,102)"
Product: 4D
Theme: Colors and Gradients
Number:
65924
Created: Composant 4D SVG v11.3
4D SVG Component ( 4D v13)
4D SVG Component ( 4D v12)
4D SVG Component ( Composant 4D SVG v11.4)
4D SVG Component ( 4D v14 R2)
4D SVG Component ( 4D v14)
4D SVG Component ( 4D v14 R3)
4D SVG Component ( 4D v14 R4)