Glossary Design & Media

RGB

RGB describes colour as amounts of red, green and blue light, each from 0 to 255 on screens.

Last reviewed:

AdSense Placeholder
Slot: header_reference_page

In more detail

rgb(51, 102, 204) is the same colour as the hex code #3366cc, because 51 = 0x33, 102 = 0x66 and 204 = 0xCC. Three channels of 256 levels give 16,777,216 colours.

Try these tools

See also

  • Glossary HSL
    HSL describes colour as hue (position on the colour wheel in degrees), saturation (intensity) and lightness.
  • Glossary Hexadecimal
    Hexadecimal (hex) is the base-16 number system, using digits 0-9 and letters A-F, widely used as a compact way to write binary data.
  • Guide How Color and Contrast Work
    Hex, RGB and HSL are one colour, how the WCAG contrast ratio is computed with real pass and fail examples.
AdSense Placeholder
Slot: footer_leaderboard