About RGB Colors

ProDiver uses the RGB color model, which is based on the theory that all visible colors can be created using the primary additive colors of red, green, and blue. When these colors are combined in equal amounts, they produce white. When two or three of them are combined in different amounts, other colors are produced.

Each of the three colors is assigned a value in the range of 0–255, and the rgb color is defined in the format of <red value>, <green value>, <blue value>. For example:

  • 0, 0, 0 is black
  • 255, 0, 0 is red
  • 0, 255, 0 is green
  • 0, 0, 255 is blue
  • 255, 255, 255 is white

RGB color diagram.