Color displays consist of pixels that are composed of three subpixels, red, green, and blue. Each of these subpixels can be adjusted to 256 different shades of their respective color. As a result, a single LCD pixel can exhibit 16.8 million different colors, obtained by combining the different intensities of each subpixel.
Check out how a pixel would emit lights to produce colors below.
To create the first color orange, the pixels are set to RGB(255,128,0). The red sub pixel is a maxed and green sub pixels is half way up.
The pink color is created by maxing the red and the blue sub pixel and the green sub pixel being half way up RGB(255,128,255).
The last baby blue is created with adjustments RGB(96,192,255).