COMPSCI 105 Lecture Notes - Lecture 5: Primary Color, Color Model, Cyan
Document Summary
Singleton or opening tags may contain optional attributes: < enclosing wrapper; rst and last lines of code. Text, color, embedded graphics, tables, lists, links to any resource le (web pages, graphics, sound les, formatting directives, etc. ) Fill in the blank with a color name/hexadecimal number. There are 2^24 = 16,777,216 color numbers (be familiar with this number) This method is obsolete; css offers an alternate method. Primary colors for paint: red, yellow, blue (re ective color model) Primary colors for ink: cyan, magenta, yellow (re ective color model) Primary colors for displays: red, green, blue (transmissive color model) Colors are mixtures of red, green, and blue. Each r or g or b value requires 1 byte: Html color numbers are always in this order: Red: d4 = 212 (dominant digit d, high red) Green: 2e = 46 (dominant digit 2, low green) Blue: ef = 239 (dominant digit e, high blue)