Navigation: Code Documentation > RSFMXSVG > FMX.RS.SVGUtils > Routines
SVGColorToGrayscale(TSVGColor) Method
Returns the grayscale color of the color. The function works like the NTSC (National Televisision Standards Committee) system: Red*0.56, Green*0.33 and Blue*0.11
Namespace: FMX.RS.SVGUtils
Delphi
function SVGColorToGrayscale( const c: TSVGColor ): TSVGColor;
Parameters
c
Type: System.Void
Type: TSVGColor
•FMX.RS.SVGTypes.TSVGColor
•FMX.RS.SVGUtils