rgb(255,255,255) notation has been available since CSS1. But #ffffff seems to be vastly more popular.
rgb(255,255,255)
#ffffff
Obviously it\'s slightly more compact
no valid reason, other than personal preference.