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
- package com.aspose.html.Drawing
- package Aspose.HTML