new UIColor()
Creates a new UIColor instance.
constructor(color?: string);
Parameters
- color — A CSS color string in hex, rgb(a), or oklch() format. Unrecognized strings are stored as raw CSS.
Related
class UIColor
A class that represents a single color value.
