COMPSCI 120 Lecture Notes - Lecture 9: 5,6,7,8

34 views2 pages
24 Oct 2016
Professor

Document Summary

Convert from base 16 to base 10 (companion p. 41) # __ __ __ __ __ __ red green blue. 256 values for read, green and blue each = about 17 million total colors. Look at dominant digit to determine brightness of a color: 0 0 = off, 4 0 = dark, 8 0 = medium, c 0 = light, f f = bright, full power, ex. #1ce8fa is a turquoise/cyan color (low red, high green, high blue: ex. #e81cfa is a fuchsia/magenta color (high red, low green, high blue: ex. #e8fa1c is a yellow color (high red, high green, low blue: ex. #ffff(cid:1004)(cid:1004) is (cid:455)ellow, sa(cid:373)e as if t(cid:455)ped (cid:862)(cid:455)ellow(cid:863) (cid:894)(cid:373)a(cid:454) red, (cid:373)a(cid:454) gree(cid:374), (cid:374)o (cid:271)lue(cid:895) Browser-safe colors: 00, 33, 66, 99, cc, ff. If you want #35c0fa, an older computer will translate it to #33ccff. #f 0 f 8 f f (alice blue)

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