Properties:
Name | Type | Default | Description |
---|---|---|---|
originalColor |
ColorSource |
0xff0000
|
The color that will be changed. |
targetColor |
ColorSource |
0x000000
|
The resulting color. |
tolerance |
number |
0.4
|
Tolerance/sensitivity of the floating-point comparison between colors (lower = more exact, higher = more inclusive) |
Members
The color that will be changed.
- Default Value:
- 0xff0000
Example
[1.0, 1.0, 1.0] = 0xffffff
The resulting color.
- Default Value:
- 0x000000
Example
[1.0, 1.0, 1.0] = 0xffffff
Tolerance/sensitivity of the floating-point comparison between colors (lower = more exact, higher = more inclusive)
- Default Value:
- 0.4