Learn to Program Step-by-Step

RGB Demo

Red Green Blue Colors

Colors on a computer screen are represented by combining three colors Red, Green, and Blue.
The combination of these three colors is called the RGB color.
The value of each of the three colors can run from 0 (off) to 255 (full blast).
When all of the colors are off (0), there is no light: you see black.
When all 3 lights are on full blast (255), you see white.
The decimal values of the colors are usually shown in hexadecimal.
In hexadecimal 255 is FF. Experiment with the colors below.

red 0
green 0
blue 0
Like us on Facebook:

OER: Open Educational Resource
Creative Commons License Author: Janet E. Joy; Publisher: Zebra0.com
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License
Creative Commons Attribution-NonCommercial 4.0 International License
Last modified: March 02 2017 16:12:37.