Color.FromString
Color.FromString method
Parses string containing the CSS color and returns a new Color.
public static Color FromString(string color)
Parameter | Type | Description |
---|---|---|
color | String | A string containing the color in the format RGB, HEX, HSL, HSV, HWB, CMYK, NCOL, LCH, OKLCH, LAB or OKLAB |
Return Value
A new instance of the Color
class
See Also
- class Color
- namespace Aspose.Html.Drawing
- assembly Aspose.HTML