RGB values (red, green, blue) are more archaic, but are commonly used in a variety of industries, including printing and publishing. It used to be more widely used on sites than today.
RGBA (red, green, blue, alpha) is used for transparent color. The value for A (alpha) is from 0, completely transparent, to 1 completely opaque.
hex is a more recent fast value used exclusively for websites and applications.
source
share