RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.ColorToWebColorName Function

Returns the web color name representing the color given as the parameter.

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

ColorToWebColorName returns the string containing the corresponding WebNamedColors item.  

Color represents the base color. 

 

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