Choosing the Right Color Value: RGB or Hex
Posted on December 17th, 2009 by jason
Q: Should I use Hex or RGB values to define colors in CSS?

Adobe's Kuler Web application lets you choose a color palette and see each colors value in multiple formats, including HEX and RGB.
The short answer is RGB.
The slightly longer answer is that Hex values have become the de facto standard for use in CSS code and both developers and designers are used to them.
The long answer is that, in the final design on the screen, there is no difference between using Hex or RGB values in your code. Which system you use is really a matter of you own personal preference (and those of the team you are working with) as to whether or not you use Hex or RGB values to define colors.
Random Thoughts
« Using WEFT to Create EOT Font Files for Internet Explorer // 10 Last-minute Gifts for Web Designers »
Discussion Area - Leave a Comment