Navigation: Code Documentation > RSVclSVG > RSSVGUtils > 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: RSSVGUtils
Delphi
function SVGColorToGrayscale( const c: TSVGColor ): TSVGColor;
Parameters
c
Type: System.Void
Type: TSVGColor
•RSSVGTypes.TSVGColor
•RSSVGUtils