RGB is additive: full red, green and blue together make white, and none makes black. Each channel is usually stored as a number from 0 to 255, giving about 16.7 million combinations.
Images for websites, apps, social media and video should be RGB, normally in the sRGB color space. For print, colors are converted to CMYK, which can’t reproduce every RGB color.
Example
rgb(255, 128, 0) is a bright orange; the same color as a hex code is #FF8000.