<static> createColor(r, g, b, a, h, s, l, v) → {object}
A utility function to create a lightweight 'color' object with the default components.Any components that are not specified will default to zero. This is useful when you want to use a shared color object for the getPixel and getPixelAt methods.
Parameters
Name Type Argument Default Description r number <optional> 0 The red color component, in the range 0 - 255. g number <optional> 0 The green color component