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
Color Red GreenBlue Red25500 Green02550 Blue00255 Yellow255 0 Cyan0255 Magenta2550 White255 Black000 A few examples
Use decimal or hexadecimal
Color Decimal (Red, Green, Blue) Hexadecimal (#RRGGBB) Black(0, 0, 0)# White(255, 255, 255)#FFFFFF Red(255, 0, 0)#FF0000 Green(0, 255, 0)#00FF00 Blue(0, 0, 255)#0000FF Yellow(255, 255, 0)#FFFF00 Cyan(0, 255, 255)#00FFFF Magenta(255, 0, 255)#FF00FF A few examples
RGB demonstration service
Millennium Park, Chicago A large RGB display
Coffee cup pixels
Zoom and pan for detail A very large image 297,500 x 87,500 pixels (26 gigapixels)
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: 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.