Quick tip: Convert RGB to hexadecimal

Saturday, January 12th, 2008 Design, Tips and Tricks

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

Bookmark this article!

BlinkbitsBlinkListsBlogLinesBlogmarksBuddymarksCiteULikeCo.mmentsDel.icio.usDiggDiigo

FarkFeed Me LinksFurlGoogleLinkagogoma.gnoliaNetvouzNewsvinePropellerRawsugar

RedditRojoSimpySphinnSpurlSquidooStumbleUponTailrankTechnoratiYahoo

Tags: , , ,

Comments

James Taylor
January 12th, 2008

I had no idea you could do that - especially not with a calculator of all things!

Post a comment

Please add your comments and opinions on this post! All valid contributions are appreciated and nofollow has been removed from links. You can follow any responses to this entry through the RSS 2.0 feed.