Method | Description | |
---|---|---|
FromHex ( string s ) : Color |
Creates a color from a hex value
|
|
FromName ( string s ) : Color |
Create a Color from a Colors.XXX name
|
public static FromHex ( string s ) : Color | ||
s | string | Hey value in #RRGGBB or #AARRGGBB format |
return | Color |
public static FromName ( string s ) : Color | ||
s | string | name of color |
return | Color |