Hex 2 Percent
Convert RGB Hex web colours to RGB percentages
This page up to date on: 24 Apr 2024
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: #b4f40f (random)
As background b4f40f
b4f40f
As foreground b4f40f
b4f40f
RISC OS RGB colour-picker values for :
- 70.6%
- 95.7%
- 5.9%
Enter the HTML six-digit hex value of a colour to change the Current Setting: