RGB color model Skills none IT concepts combining
RGB color model Skills: none IT concepts: combining red, green and blue light to generate colors This work is licensed under a Creative Commons Attribution-Noncommercial. Share Alike 3. 0 License.
Where does this topic fit? • Internet concepts – Applications – Technology – Implications • Internet skills – Application development – Content creation (images)
red + blue + green → white
Combine three colors for each pixel Intensities of each color can range from 0 - 255
A few examples Color Red Green Blue 255 0 0 Green 0 255 0 Blue 0 0 255 255 0 0 255 Magenta 255 0 255 White 255 255 Black 0 0 0 Yellow Cyan
Use decimal or hexadecimal
A few examples Color Decimal (Red, Green, Blue) Hexadecimal (#RRGGBB) Black (0, 0, 0) #000000 White (255, 255) #FFFFFF Red (255, 0, 0) #FF 0000 Green (0, 255, 0) #00 FF 00 Blue (0, 0, 255) #0000 FF Yellow (255, 0) #FFFF 00 Cyan (0, 255) #00 FFFF Magenta (255, 0, 255) #FF 00 FF
RGB demonstration service
A large RGB display Millennium Park, Chicago
Coffee cup pixels
A very large image 297, 500 x 87, 500 pixels (26 gigapixels) Zoom and pan for detail
A few questions How many different colors are possible using the RGB model? What colors are the background and text on a page with this body tag: <body bgcolor = "#ffffff" text = "#000000" > What happens if you change the values of the bgcolor and text attributes?
RGB color model Skills: none IT concepts: combining red, green and blue light to generate colors This work is licensed under a Creative Commons Attribution-Noncommercial. Share Alike 3. 0 License.
- Slides: 16