Parameters
- color
- The string representation of the color. Valid representations are hexadecimal, HTML color, or name of predefined color.
Exception | Description |
---|---|
System.Exception | color is not a valid color name. |
ColorProperty hexColorProperty = new ColorProperty("#ff0000"); ColorProperty nameColorProperty = new ColorProperty("red");