SVG_Color_grey

4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next

version 11.3


SVG_Color_grey (percentage) String

ParameterTypeDescription
percentageIntegerIntensity of gray
Function resultStringColor string

Description

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.


4D - Documentation   Français   English   German   4D SVG Component, Command Theme List   4D SVG Component, Index   Back   Previous   Next