CMPT 166 Lecture Notes - Lecture 5: Cellophane, Grayscale, Photorealism

43 views8 pages

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.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents