Using color is an important part of any Processing program. Typically, there are three different areas where one can use or change color:The color of the background of the window you are drawing in - using the background() function
The color of lines, including the outside border of shapes - using the stroke() function
The color of the inside of shapes - using the fill() function
All three of these functions (background, fill and stroke) use the RGB (Red, Green and Blue) color codes to specify a color. The code is a series of three numbers (a red number, a green number and a blue number). Each number is between 0-255, and specify how much of that color is used. For example, here are some common RGB codes:
Helpful Links
To see the code for your favorite color, open up Processing, then go to "Tools" and select "Color Selector". To draw a rectangle shaded with the light blue color below, for example, one would use the command fill( 48, 139, 206)