Color

All properties and functions that expect color values in the form of instances of Color objects, also accept named colors and hex values as strings which are then converted to instances of Color internally.

Example:Named color values:

Run

Example:Hex color values:

Run

Constructors

Operators

Properties

RGB Components

Gray Components

HSB Components

HSL Components

Gradient Components

Methods

String Representations

Math Operator Functions

Static Methods