I just started learning some basic CSS and found rgba value very interesting.
rgba makes it possible to include a transparent part in a specific color.
Let’s say you want a special type of white that is floral white whose equivalent in rgb value is
rgb (255, 250, 240)
But you want to add a degree of transparency to it.
There is when rgba comes in because it adds an alpha parameter that is a number between 0 and 1.
If the value is near 0 is going to be more transparent and if it’s near 1 is going to be less transparent.
So let’s include some transparency to the floral white:
rgba (255, 250, 204, 0.6)
This new color is going to be lighter than the original floral white.
In this page, you can try different alpha values to get the right rgba.