This method can parse string representations of a HueString created with the ToString method.
The value is a comma separated list of hues. The default unit is turns in the range [0, 1), but another unit can be specified using the suffixes below:
Unit | Suffix | Example |
---|---|---|
Degrees | deg | 90deg |
Radians | rad | 1.4rad |
Gradians | grad | 100grad |
Turns | turn | 0.5turn |
The values is specified using a period as decimal separator. Use the Parse(String, IFormatProvider) overload to use a localized decimal separator.