Magic Pink
From Wikipedia, the free encyclopedia
This article does not cite any references or sources. (December 2007) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
Please help improve this article or section by expanding it. Further information might be found on the talk page or at requests for expansion. (December 2007) |
This article is orphaned as few or no other articles link to it. Please help introduce links in articles on related topics. (December 2007) |
Magic Pink, sometimes known as Programmers' Pink, refers to the color magenta (RGB 255, 0, 255) often used by software developers and graphic designers.
Its most common usage is adding transparent areas to sprites in video games, by filling the area that should be transparent with that color. During rendering, the pink is removed, making the background invisible and allowing it to be superimposed over other graphics.
[edit] Advantages
Since magic pink is rarely found in most graphics, it is unlikely to conflict with the colors of the actual image, and any artifacts resulting from improper rendering of the transparent section would be quickly spotted by the tester.
[edit] Disadvantages
Magic pink does not allow partial (transculent) transparency. If partial transparency is required, an alpha channel (present in 32-bit graphics) can be used instead.