RGBA color model
RGBA stands for red green blue alpha.
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
RGBA stands for red green blue alpha. While it is sometimes described as a color space, it is actually a three-channel RGB color model supplemented with a fourth alpha channel. Alpha indicates how opaque each pixel is and allows an image to be combined over others using alpha compositing, with transparent areas and anti-aliasing of the edges of opaque regions.
Each pixel is a 4D vector. The term does not define what RGB color space is being used. It also does not state whether or not the colors are premultiplied by the alpha value, and if they are it does not state what color space that premultiplication was done in.
This means more information than just "RGBA" is needed to determine how to handle an image. In some contexts the abbreviation "RGBA" means a specific memory layout (called RGBA8888 below), with other terms such as "BGRA" used for alternatives. In other contexts "RGBA" means any layout.
External links
Alpha transparency on W3C PNG specification RGBA Colors – Preview page with implementation info on CSS3.info
Text derived from https://en.wikipedia.org/w/index.php?oldid=1236244832 under CC BY-SA 4.0; modifications have been made.