Jump to navigation.

Colours and Contrast

This tool computes the colour brightness difference and the colour difference between a background colour and a foreground colour.

You can specify colours in a number of ways:

  • with 3-digit hexadecimal notation (RGB), e.g. #fc0
  • with 6-digit hexadecimal notation (RRGGBB), e.g. #ffcc00
  • with three decimal values (red, green, blue) in the 0–255 range, e.g. rgb(255,204,0)
  • with three percentages (red, green, blue), e.g. rgb(100%,80%,0%)
Results

The colour brightness difference is (minimum 125).

The colour difference is (minimum 500).

People with certain types of vision impairment or colour-deficit vision may have difficulties reading text unless those differences are sufficiently large. The tool computes whether the differences between two specified colours are sufficient according to accepted standards.


Sections