Most computer graphics applications make use of the RGB or CMYK color spaces:
CMYK: CMY is based on subtractive color.
Subtractive color mixing means that, starting with white, as we add color, the result gets darker. CMYK is used for mixing colors in images intended for printing in e.g. Photoshop and Illustrator.
RGB: RGB is based on Additive Color.
The colors on a computer screen are created with light using the additive color method. Additive color mixing begins with black and as more color is added, the result gets lighter and ends in white.