rgb(255,255,255) notation has been available since CSS1. But #ffffff seems to be vastly more popular.
Obviously it\'s slightly more compact
I always used hex, but today I prefer to set my values as:
rgb(82, 110, 188)
in my css files, so whenever I want to add opacity I just need to rename rgb to rgba and add the opacity value. The advantage is that I don't have to convert the hex value to rgb before being able to add the opacity:
rgba(82, 110, 188, 0.5)