rgba

CSS RGBA border / background alpha double

I'm working on a website that has a lot of transparency involved, and I thought I would try to build it entirely in RGBA and then do fallbacks for IE. I need a "facebox" style border effect, where the outer border is rounded and is less opaque than the background of the box it surrounds. The last example from http://24ways.org/2009/work...

Mod_rewrite with multiple variables

Hello, I'm using a PHP script that dynamically generates transparent PNGs for use as CSS backgrounds from a query string that takes RGBa and HSLa values. The original script can be found here, I've only added HSLa support. Because background URLs with PHP query strings aren't very pretty, and because it seems to break the IE 6 transpar...

How to replicate PS multiply layer mode

Does anybody know of a good way to replicate Photoshop's multiply layer mode using either an image or CSS? I'm working on a project that has thumbnails that get a color overlay when you hover over them, but the designer used a layer set to multiply and I can't figure out how to produce it on the web. The best thing I've come up with is...

Can I set a rgba color within a color theme

I read in an old qooxdoo note that "qx.util.ColorUtil now accepts rgba values for cssStringToRgb()". This means to me that qoxdoo has the ability to deal with rgba colors in some ways. But none of the ways I tried to set colors in a theme extending qx.theme.modern.Color has been parsed by qoxxdoo : throw new Error("Could not parse col...

Set opacity to the menu but keep text opaque in CSS

How can I create a menu which only its background is transparent? The text should keep opaque (opacity: 1) If I set li:hover { opacity: 0.5 } The whole list item becomes transparent. How do I fix that? ...

How to extract r, g, b, a values from CSS color ?

What would be the easiest way to transform $('#my_element').css('backgroundColor') to object like this: { r: red_value, g: green_value, b: blue_value, a: alpha_value } ? ...

Deciphering HEX RGBA for MS-filters in CSS

I'm writing styles for a page where I'd like to use rgba colors on the background of some list items. I've used the CSS background property along with rgba(146,138,118,.4) to define my transparent background color. Now I'm trying to cover my bases with IE support by using the technique of an ms-filter as described in this article. (see ...

IPhone RGBA to ARGB

Hi, Im using glReadPixels to grab screen shots of my opengl scene and then turning them into a video using AVAssetWriter on IOS 4. My problem is i need to pass the alpha channel to the video which only accepts kCVPixelFormatType_32ARGB and glReadPixels on retrieves RGBA. So basically i need a way to convert my RGBA to ARGB, in other wor...

CSS background opacity with rgba not working in IE 8

I am using this CSS for background opacity of a <div>: background: rgba(255, 255, 255, 0.3); It’s working fine in Firefox, but not in IE 8. How do I make it work? ...