Optional
color: PaletteColor | Color | ColorA p5.js Color, Color, or PaletteColor object.
If given a p5.js Color, the color's RGBA components
will become the values of red, green, blue, and alpha.
If given a Color, the given color's
red, green, blue, alpha, and name
properties will become the new values of this color's respective properties.
If given a PaletteColor, the color's RGB and NAME values will be used to build the color.
Optional
alpha: numberThe current alpha component value (0-255).
Set the value of the alpha component.
The current blue component value (0-255).
Set the value of the blue component.
The current green component value (0-255).
Set the value of the green component.
The name of the color.
The current red component value (0-255).
Set the value of the red component.
Color information and functionality. Colors are stored in RGBA format.