Should I use Hex or RGB values to define colors in CSS?
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.