- Source: src/display/typedefs/index.js (Line 1)
Type Definitions
-
ColorObject
-
Type:
- object
- Since: 3.0.0
- Source: src/display/typedefs/ColorObject.js (Line 1)
Properties:
Name Type Description rnumber The red color value in the range 0 to 255.
gnumber The green color value in the range 0 to 255.
bnumber The blue color value in the range 0 to 255.
anumber The alpha color value in the range 0 to 255.
-
HSVColorObject
-
Type:
- object
- Since: 3.0.0
- Source: src/display/typedefs/HSVColorObject.js (Line 1)
Properties:
Name Type Description hnumber The hue color value. A number between 0 and 1
snumber The saturation color value. A number between 0 and 1
vnumber The lightness color value. A number between 0 and 1
-
InputColorObject
-
Type:
- object
- Since: 3.0.0
- Source: src/display/typedefs/InputColorObject.js (Line 1)
Properties:
Name Type Argument Description rnumber <optional>
The red color value in the range 0 to 255.
gnumber <optional>
The green color value in the range 0 to 255.
bnumber <optional>
The blue color value in the range 0 to 255.
anumber <optional>
The alpha color value in the range 0 to 255.
