C# Class ThingM.Blink1.ColorProcessor.HtmlHexadecimal

HTML Color in a hexadecimal (#FFFFFF) format.
Inheritance: IColorProcessor
Afficher le fichier Open project: todbot/blink1

Méthodes publiques

Méthode Description
HtmlHexadecimal ( string htmlColor ) : System

Initializes a new instance of the HtmlHexadecimal class.

ToRgb ( ) : ThingM.Blink1.ColorProcessor.Rgb

Convert the color to the RGB format.

Private Methods

Méthode Description
IsFormatValid ( string color ) : bool

Validate if the string format match the HTML hexadecimal #FFFFFF format.

Method Details

HtmlHexadecimal() public méthode

Initializes a new instance of the HtmlHexadecimal class.
public HtmlHexadecimal ( string htmlColor ) : System
htmlColor string /// The HTML color in a hexadecimal (#FFFFFF) format. ///
Résultat System

ToRgb() public méthode

Convert the color to the RGB format.
public ToRgb ( ) : ThingM.Blink1.ColorProcessor.Rgb
Résultat ThingM.Blink1.ColorProcessor.Rgb