RGB colour values

About RGB colour values
  • RGB colour values are represented as decimal triplets (e.g., yellow = 255, 255, 0) or hexadecimal triplets (e.g., green = #00FF00). These values are used by software applications to choose particular colours.
  • In both instances, the values determine the levels of red, green, and blue used to create a specific colour.
    • A decimal triplet is made up of three numbers between 0 and 255 divided by commas.
    • A hexadecimal triplet starts with a # sign followed by three two-digit numbers with values between  00 and FF written without spaces between.