| Parameters | Details |
|---|---|
| r | Is the red of the color when the mode is RGB. |
| g | Is the green of the color when the mode is RGB. |
| b | Is the blue of the color when the mode is RGB. |
| alpha | Is the opacity of the color. |
| h | The hue of the color when the mode is HSB. |
| s | The saturation of the color when the mode is HSB. |
| l | The brightness/lightness of the color when the mode is HSB. |
| gray | The value between black (being 0) and white (being 255). |
Although it has not been mentioned in the official Processing documentation, there is a CMYK mode which you can use.