Difference between revisions of "Palettes"

From Data Crystal
Jump to navigation Jump to search
(New page: A '''palette''' is a limited index of colors defined as a subset of the total range of displayable colors. Any given game will generally contain many such palettes. = SNES Palettes = The ...)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
A '''palette''' is a limited index of colors defined as a subset of the total range of displayable colors. Any given game will generally contain many such palettes.
 
A '''palette''' is a limited index of colors defined as a subset of the total range of displayable colors. Any given game will generally contain many such palettes.
  
= SNES Palettes =
+
== See also ==
The SNES uses a 15-bit format to describe a single color entry. 5 bits are allocated to each of the three red, green, and blue color components. Therefore, a single color is stored in two bytes, as such:
 
  
0BBBBBGG GGGRRRRR
+
* [[Super Nintendo:Color|SNES Color Format]]
  
Note that colors are stored in little-endian format, exactly as shown. In other words, when read as a 16-bit byte, the most significant bit of the least significant byte is 0.
 
  
 
{{stub}}
 
{{stub}}

Latest revision as of 13:27, 5 August 2008

A palette is a limited index of colors defined as a subset of the total range of displayable colors. Any given game will generally contain many such palettes.

See also