Name | Type | Default | Description |
---|---|---|---|
r |
number | 0 | optional |
g |
number | 0 | optional |
b |
number | 0 | optional |
a |
number | 1 | optional |
Methods
-
copy ()Color
-
Returns:
Type Description Color -
dansDarker ()Color
-
Returns:
Type Description Color -
darker (percent)Color
-
Name Type Description percent
number Returns:
Type Description Color -
Name Type Description aColor
Color Returns:
Type Description boolean -
Returns:
Type Description Array.<number> -
inverted ()Color
-
Returns:
Type Description Color -
lighter (percent)Color
-
Name Type Description percent
number Returns:
Type Description Color -
mixed (proportion, otherColor)Color
-
Name Type Description proportion
number otherColor
Color Returns:
Type Description Color -
Name Type Description h
number s
number v
number -
Returns:
Type Description String Example
'rgba(255,127,63,0.12)'