Start index in array
Step size between channels
A tuple of [min, max]
where both are vectors specifying the min/max channel ranges for this color type.
Clamps all color channels so that colors is inside RGB gamut.
Returns a copy of this instance. Shallow or deep copies are implementation specific.
Returns wrapped value.
Returns an empty/blank instance of same type (with possibly same config, if any).
Randomizes all color channels based on channel ranges defined for this color type (usually [0..1] interval). Alpha channel will remain untouched.
For memory mapped colors, this ensures only the elements used by this color are being serialized (as array) by JSON.stringify()
.
Generated using TypeDoc
Backing array / memory