Vcl.GraphUtil.ColorToWebColorName
Delphi
function ColorToWebColorName(Color: TColor): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall ColorToWebColorName(System::Uitypes::TColor Color);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.GraphUtil.pas Vcl.GraphUtil.hpp |
Vcl.GraphUtil | Vcl.GraphUtil |
Description
Returns the web color name representing the color given as the parameter.
ColorToWebColorName returns the string containing the corresponding WebNamedColors item.
Color represents the base color.