CMPT 166 Lecture Notes - Lecture 5: Cellophane, Grayscale, Photorealism
Document Summary
In these notes you will learn: how to specify rgb colors, how to use grayscale, how to set the background, fill, and stroke colors in processing, how to use variables to store frequently-used colors. The art and science of color is a huge topic, and this note is a brief and practical introduction to rgb color as used in processing. Rgb is short for red, green, blue , and all rgb colors are combinations of different amounts of red, green, and blue. An rgb color is written as three numbers: (red, green, blue). Often, we shorten this to just triplet, or triple. The individual red, green, and blue values of an rgb triplet are called intensities. There are exactly 16,777,216 different colors, i. e. over 16 million unique colors. On a good color monitor this is enough to display photo-realistic images.