Classes
Methods
(static) blend(color1, color2)
Blend two colours
together.
Parameters
Name | Type | Description |
---|---|---|
color1 |
number | |
color2 |
number |
- Source
(static) gen() → {string}
Generator example
- Source
Yields:
A string
object, which may be empty
- Type:
- string
(static) darken(color, shade)
Darkens a color.
Parameters
Name | Type | Description |
---|---|---|
color |
number | |
shade |
number |
- Source