MyBB Community Forums

Full Version: Using alpha colors?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
So here's a quick question:  Is it possible to use alpha values with colors?

For my forums, I've got it set up so quote blocks are a different shade of color than normal text.  The issue here is that multiple quote boxes all end up looking like the same blob of color..  If I could use alpha with the background, then I could set up an easy system where deeper embedded quotes were a darker shade than top layer quotes.

Anyone know if this is possible easily? Or a good plugin which handles this issue easily?

Instead of color #777777, it'd be color #77FFFFFF, or such for the background color.
You can use the following CSS:
rgba(<RED_0-255>, <GREEN_0-255>. <BLUE_0-255>, <OPACITY_0.0-1.0>)
For example:
background-color: rgba(48, 48, 48, 0.75);

[ExiTuS]