RGBA color space

RGBA color space

RGBA stands for Red Green Blue Alpha. While it is sometimes described as a color space, it is actually simply a use of the RGB color model, with extra information. The color is RGB, and may belong to any RGB color space, but an integral alpha value as invented by Catmull and Smith between 1971 and 1972 enables alpha blending and alpha compositing. The inventors named "alpha" after the Greek letter in the classic linear interpolation formula αA + (1-α)B.

The alpha channel is normally used as an opacity channel. If a pixel has a value of 0% in its alpha channel, it is fully transparent (and, thus, invisible), whereas a value of 100% in the alpha channel gives a fully opaque pixel (traditional digital images). Values between 0% and 100% make it possible for pixels to show through a background like a glass (translucency), an effect not possible with simple binary (transparent or opaque) transparency. It allows easy image compositing. Alpha channel values can be expressed as a percentage, integer, or real number between 0 and 1 like RGB parameters.

Sometimes this is referred as ARGB (like RGBA, but first datum is alpha), which is used, for example, in Macromedia products terminology. For example, 0x80FFFF00 is 50%-transparent yellow, because all parameters are expressed on a 0-to-255 scale. 0x80 is 128, approximately half 255 (alpha 50%); 0xFF is 255, the greatest value a parameter can have (pure red); the second 0xFF is like the previous, but for green; and 0x00 is 0 in decimal (no blue). Red, green, and half transparency mixture are 50% transparent yellow.

PNG is an image format that uses RGBA.

ee also

*Alpha compositing
*Digital compositing
*RGB (Red Green Blue, with no transparency effects)
*scRGB color space, a high definition color space with alpha channel

References

* Alvy Ray Smith. [http://alvyray.com/Memos/MemosMicrosoft.htm#AlphaHistory Alpha and the History of Digital Compositing] . Microsoft Tech Memo 7. 1995-08-15.

External links

* [http://www.w3.org/TR/PNG-DataRep.html#DR.Alpha-channel Alpha transparency] on W3C PNG specification
* [http://www.css3.info/preview/rgba/ RGBA Colors] Preview page with implementation info on CSS3.info


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Color space — A comparison of the chromaticities enclosed by some color spaces. A color model is an abstract mathematical model describing the way colors can be represented as tuples of numbers, typically as three or four values or color components (e.g. RGB… …   Wikipedia

  • RGBA — Ein RGB Farbraum ist ein additiver Farbraum, der Farbwahrnehmungen durch das additive Mischen dreier Primärfarben (Rot, Grün und Blau) nachbildet. Die dahinterstehende Theorie ist die Dreifarbentheorie, die ihren Ursprung im durch drei… …   Deutsch Wikipedia

  • List of color spaces and their uses — This is a list of color spaces and their uses from the color space article. A color space consists of a color model along with a specific mapping of that model onto an absolute color space. There are a large number of color spaces in use in the… …   Wikipedia

  • RGB color model — RGB redirects here. For other uses, see RGB (disambiguation). A representation of additive color mixing. Projection of primary color lights on a screen shows secondary colors where two overlap; the combination of all three of red, green, and blue …   Wikipedia

  • Alpha compositing — This image s alpha channel falls off to zero at its base. A checkered backdrop is often used to signal transparency. In computer graphics, alpha compositing is the process of combining an image with a background to create the appearance of… …   Wikipedia

  • Core Image — Mac OS X graphics model Rendering QuickDraw • Core OpenGL Quartz 2D • Core Image Core Animation • …   Wikipedia

  • Volume rendering — is a technique used to display a 2D projection of a 3D discretely sampled data set.A typical 3D data set is a group of 2D slice images acquired by a CT or MRI scanner.Usually these are acquired in a regular pattern (e.g., one slice every… …   Wikipedia

  • Portable Network Graphics — PNG A PNG image with an 8 bit transparency channel (top). The same image is overlaid onto a checkered background (botto …   Wikipedia

  • RGB-Daten — Ein RGB Farbraum ist ein additiver Farbraum, der Farbwahrnehmungen durch das additive Mischen dreier Primärfarben (Rot, Grün und Blau) nachbildet. Die dahinterstehende Theorie ist die Dreifarbentheorie, die ihren Ursprung im durch drei… …   Deutsch Wikipedia

  • RGB-Farbe — Ein RGB Farbraum ist ein additiver Farbraum, der Farbwahrnehmungen durch das additive Mischen dreier Primärfarben (Rot, Grün und Blau) nachbildet. Die dahinterstehende Theorie ist die Dreifarbentheorie, die ihren Ursprung im durch drei… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”