color

Data / Primitive

Description

Datatype for storing color values. Internally a 32-bit packed ARGB integer. Created with the color() function. Compatible with unsigned int.

Syntax

color c color c = color(r, g, b) color c = color(gray)

Parameters

None

Returns

color

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...