

Hex 2 Percent
Convert RGB Hex web colours to RGB percentages
This page up to date on: 06 Jun 2023
A PHP script (which converts a six-digit HTML hexadecimal RGB colour number to the percentages required by RGB colour pickers as used by RISC OS and in CSS) and a form to generate new queries. Freeware by Tim Hill.
You can download an exact copy of this script
Current Setting: #279841 (random)
As background 279841
279841
As foreground 279841
279841
RISC OS RGB colour-picker values for :
- 15.3%
- 59.6%
- 25.5%
Enter the HTML six-digit hex value of a colour to change the Current Setting: