RGB Color CodesRGB color space, RGB color codes interactive chart, RGB color format, RGB color table RGB Color SpaceRGB color space or RGB color system, constructs all the colors from the combination of the Red, Green and Blue colors. The red, green and blue use 8 bits each, which have integer values from 0 to 255. This makes 256*256*256=65536 possible colors. Each pixel in the LCD monitor displays colors this way, by combination of red, green and blue LEDs (light emitting diodes). When the red pixel is set to 0, the LED is turned off. When the red pixel is set to 255, the LED is turned fully on. Any value between them sets the LED to partial light emission. RGB Color Codes Interactive ChartClick on color it to get hex color code:
RGB Color FormatRGB code has 24 bits format: | RED[7:0] | GREEN[7:0] | BLUE[7:0] | 23 | | | | | | | 16 | 15 | | | | | | | 8 | 7 | | | | | | | 0 |
RGB Color Code CalculationRGB = (R*65536)+(G*256)+B , (when R is RED, G is GREEN and B is BLUE) Examples:White RGB ColorWhite RGB code = 255*65536+255*256+255 = #FFFFFF Blue RGB ColorBlue RGB code = 0*65536+0*256+255 = #0000FF Red RGB ColorRed RGB code = 255*65536+0*256+0 = #FF0000 Green RGB ColorGreen RGB code = 0*65536+255*256+0 = #00FF00 Gray RGB ColorGray RGB code = 128*65536+128*256+128 = #808080 Yellow RGB ColorYellow RGB code = 255*65536+255*256+0 = #FFFF00 RGB Color Table| Color | Name | Hex Code #RRGGBB | Decimal Code R,G,B |
|---|
| | Red | #FF0000 | 255,0,0 | | | Green (lime) | #00FF00 | 0,255,0 | | | Blue | #0000FF | 0,0,255 | | | Black | #000000 | 0,0,0 | | | White | #FFFFFF | 255,255,255 | | | Yellow | #FFFF00 | 255,255,0 | | | Cyan (aqua) | #00FFFF | 0,255,255 | | | Magenta (fuchsia) | #FF00FF | 255,0,255 | | | Dark Gray | #404040 | 64,64,64 | | | Gray / Grey | #808080 | 128,128,128 | | | Silver | #C0C0C0 | 192,192,192 | | | Maroon | #800000 | 128,0,0 | | | Rose | #FF99CC | 255,153,204 | | | Brown | #993300 | 153,51,0 | | | Orange | #FF6600 | 255,102,0 | | | Light Orange | #FF9900 | 255,153,0 | | | Gold | #FFD700 | 255,215,0 | | | Tan | #FFCC99 | 255,204,153 | | | Dark Olive | #333300 | 51,51,0 | | | Olive | #808000 | 128,128,0 | | | Yellow Green | #99CC00 | 153,204,0 | | | Light Yellow | #FFFF99 | 255,255,153 | | | Dark Green | #003300 | 0,51,0 | | | Sea Green | #339966 | 51,153,102 | | | Dark Green | #008000 | 0,128,0 | | | Light Green | #CCFFCC | 204,255,204 | | | Dark Teal | #003366 | 0,51,102 | | | Teal | #00,80,80 | 0,128,128 | | | Aqua | #33CCCC | 51,204,204 | | | Light Turquoise | #CCFFFF | 204,255,255 | | | Navy | #000080 | 0,0,128 | | | Light Blue | #3366FF | 51,102,255 | | | Sky Blue | #00CCFF | 0,204,255 | | | Pale Blue | #99CCFF | 153,204,255 | | | Indigo | #333399 | 51,51,153 | | | Blue Gray | #666699 | 102,102,153 | | | Purple | #800080 | 128,0,128 | | | Plum | #993366 | 153,51,102 | | | Lavender | #CC99FF | 204,153,255 |
See also
|