U16 colors

From WiiBrew
Jump to: navigation, search

u16 codes are codes that represent colors. Here is a list of u16 codes and their color.

u16 codes are 16-bit color codes. This is known as Highcolor mode. The first 5 bits represent red, the second 5 bits represent blue, and the last 6 bits represent green. For more information on the format (or the extra bit for green), see Wikipedia.

u16 colors

u16 code color
0x0000 Black
0xFFFF White
0xBDF7 Light Gray
0x7BEF Dark Gray
0xF800 Red
0xFFE0 Yellow
0xFBE0 Orange
0x79E0 Brown
0x7E0 Green
0x7FF Cyan
0x1F Blue
0xF81F Pink