Difference between hex colour, RGB, & RGBA and when should each they be used?
<p>While looking at tutorials for a multitude of topics, I've often seen RGB &amp; RGBA be used instead of hex codes for colours in HTML/CSS. </p>

<p>Can someone explain to me exactly what is the difference between RGB, RGBA, hex, and when should each be used/the benefit of using one over the other?</p>