Vcl.GraphUtil.WebColorStrToColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function WebColorStrToColor(WebColor: string): TColor;

C++

extern DELPHI_PACKAGE System::Uitypes::TColor __fastcall WebColorStrToColor(System::UnicodeString WebColor);

Properties

Type Visibility Source Unit Parent
function public
Vcl.GraphUtil.pas
Vcl.GraphUtil.hpp
Vcl.GraphUtil Vcl.GraphUtil

Description

Returns the TColor from a hex color string.

WebColorStrToColor uses the standard color hexadecimal numbering to return a TColor.

WebColor represents the color in hexadecimal format written in a string.

See Also