Learn creative coding writing simple programs

80. The color datatype

Learn about a new data type called color. Each data type is meant to store some kind of information. The int type is used for integer numbers. The String type is used for text. The color data type is used for storing and reusing colors.

Tags: color, datatype

Code editor

You can make changes to the code below. Then

Questions and comments

Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)

To indicate that a word in your comment is code, use the `backtick`. Example
Do `float` and `int` smell similar?
To highlight code blocks, surround it with ``` code-fences ``` like this:
``` void setup() { size(600, 600); } ```