RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.ColorToWebColorStr Function

Returns the web color name in the form of a string.

Pascal
function ColorToWebColorStr(Color: TColor): string;
C++
AnsiString ColorToWebColorStr(TColor Color);

ColorToWebColorStr returns the web color name in the form of a string that contains the color code in hexadecimal numbering.  

Color represents the base color. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!