RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
GraphUtil.RGBToWebColorStr Function

Returns a string representing the web color name.

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

RGBToWebColorStr returns the web color name in the form of a formatted string.  

RGB represents the base color. 

 

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