While looking at tutorials for a multitude of topics, I\'ve often seen RGB & RGBA be used instead of hex codes for colours in HTML/CSS.
Can someone explain to m
The Difference between RGB and RGBA is simple to say, "there is no difference" EXCEPT the "A" -> Alpha
RGB (Red Green Blue) RGBA (Red Green Blue Alpha)
You use the alpha parameter when you want the color to get transparent. (Values between 0.0 - 1.0)
And the main difference between RGB / RGBA and HEX is that HEX uses a mix of 6 characters and numbers. (Hexadecimal) And RGB uses 3 sets of 3 numbers, which have a range of 0-255.
There's no more difference and it's up to you what you want to use.