Posts Tagged ‘Themes’

Quick tip: Convert RGB to hexadecimal

Saturday, January 12th, 2008 Design, Tips and Tricks 1 Comment »

Here’s another quick tip, which might not be relevant for most affiliates unless you spend more time than is necessary actually designing a website, like I do (maybe not particularly well, but that’s for visitors to judge ;)). I find that when I design websites, I find a great colour theme but obviously HTML only accepts hexadecimal values for colours, such as #FF9900 (which is this orange). In the programs I use to design the sites, colours have RGB values such as 51,102,153 (which is this blue).

There is a quick way to convert RGB into hexadecimal. Simply open your calculator (ensure it’s scientific if you’re using a desktop calculator), put it in ‘DEC’ mode and type in the first of the RGB units. So for the example blue I gave above, I would type in 51. Now press ‘HEX’ and a new figure will appear, in this case 33. Switch back to DEC and repeat the process until you find out that this blue is #336699. Simple!

More quick tips as I think of them, feel free to make requests!

affiliate marketing