Getting Started
...
Glossary
N-Z Terms

RGB

3min

In computer graphics, RGB stands for Red, Green, and Blue. These are the three primary colors that are used to create all other colors in the visible spectrum.

In computer graphics, RGB is used to represent the color of each pixel on a screen. Each pixel is assigned a unique value for each of the three primary colors, from 0 to 255. A value of 0 means that the color is completely absent, while a value of 255 means that the color is fully saturated.

The combination of these three colors can create a wide range of different colors. For example, a value of 255, 0, 0 represents red, while a value of 0, 255, 0 represents green. By varying the values of each of the three colors, it is possible to create any color in the visible spectrum.

Here are some of the benefits of using RGB:

  • Simple: RGB is a simple and easy-to-understand color model.
  • Wide range of colors: RGB can represent a wide range of colors, from the brightest whites to the darkest blacks.
  • Efficient: RGB is an efficient color model, which makes it ideal for use in computer graphics.

Here are some of the drawbacks of using RGB:

  • Not perceptually uniform: RGB is not a perceptually uniform color model, which means that the perceived difference between two colors with different RGB values may not be the same as the perceived difference between two colors with the same RGB values.
  • Not additive: RGB is not an additive color model, which means that the sum of two RGB values does not always equal the RGB value of the resulting color.
  • Not color-blind friendly: RGB is not color-blind friendly, which means that people with color blindness may not be able to see the difference between some colors.

Overall, RGB is a powerful and versatile color model that is widely used in computer graphics. However, it is important to be aware of its limitations, such as its non-perceptual uniformity and its lack of support for color blindness.

Feedback

Please be sure to submit issues or feature requests through the embedded feedback form. In the event it is a major issue please contact us directly through Discord.

Updated 03 Apr 2024
Doc contributor
Did this page help you?