CSS3 RBGA Colors

RBGA adds alpha, or transparency, into an element’s color. So why is this new, we always had opacity, right? Opacity had the unfortunate side effect of making all the element’s children also transparent, but RGBa does not. Here are examples of the same code using the two options:

Using RGBA:

RGBA for the Win!

Using Opacity:

Total Letdown

As you can see, Opacity has pretty severe limitations that RGBA will resolve.

It will be odd to do a mix of RGB and Hexidecimal colors, but I'll get used to it.