RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.RGBToWebColorName Function

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

Pascal
function RGBToWebColorName(RGB: Integer): string;
C++
AnsiString RGBToWebColorName(int RGB);

RGBToWebColorName returns the corresponding web color name.  

RGB represents the base color. 

 

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