ColorExt.Parse Method
Parses a Color from an HTML string (#RRGGBB or #RRGGBBAA).
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static Color Parse(
string html
)
Parameters
- html
- Type: System.String
Source HTML string
Return Value
Type: Color
The parsed color
Exceptions
Exception | Condition |
---|---|
FormatException | The string had an incorrect format |