Programmers Palettes

CGA color palette for programmers
hardware fixed index palette
 
01234567
89101112131415
 
values : main : decimal : names : palettes
 
NOTES: fbterm256 decimal values, xterm256 hexidecimal values
 
You can (also using an editor) select and copy entire columns
#
No.
html
value
official
name
hex
digit
CAPS
hex
printf
RGB
printf
RGBA
xterm
value
32bit
BGRA8888
24bit
BGR888
16bit
BRG556
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
_
#000000
#0000aa
#00aa00
#00aaaa
#aa0000
#aa00aa
#aa5500
#aaaaaa
#555555
#5555ff
#55ff55
#55ffff
#ff5555
#ff55ff
#ffff55
#ffffff
_
black
low blue
low green
low cyan
low red
low magenta
brown
light gray
dark gray
high blue
high green
high cyan
high red
high magenta
yellow
white
_
00
01
02
03
04
05
06
07
08
09
0a
0b
0c
0d
0e
0f
_
000000
0000AA
00AA00
00AAAA
AA0000
AA00AA
AA5500
AAAAAA
555555
5555FF
55FF55
55FFFF
FF5555
FF55FF
FFFF55
FFFFFF
_
\x00\x00\x00
\x00\x00\xAA
\x00\xAA\x00
\x00\xAA\xAA
\xAA\x00\x00
\xAA\x00\xAA
\xAA\x55\x00
\xAA\xAA\xAA
\x55\x55\x55
\x55\x55\xFF
\x55\xFF\x55
\x55\xFF\xFF
\xFF\x55\x55
\xFF\x55\xFF
\xFF\xFF\x55
\xFF\xFF\xFF
_
\x00\x00\x00\x00
\x00\x00\xAA\x00
\x00\xAA\x00\x00
\x00\xAA\xAA\x00
\xAA\x00\x00\x00
\xAA\x00\xAA\x00
\xAA\x55\x00\x00
\xAA\xAA\xAA\x00
\x55\x55\x55\x00
\x55\x55\xFF\x00
\x55\xFF\x55\x00
\x55\xFF\xFF\x00
\xFF\x55\x55\x00
\xFF\x55\xFF\x00
\xFF\xFF\x55\x00
\xFF\xFF\xFF\x00
_
00/00/00
00/00/AA
00/AA/00
00/AA/AA
AA/00/00
AA/00/AA
AA/55/00
AA/AA/AA
55/55/55
55/55/FF
55/FF/55
55/FF/FF
FF/55/55
FF/55/FF
FF/FF/55
FF/FF/FF
_
\x00\x00\x00\x00
\xAA\x00\x00\x00
\x00\xAA\x00\x00
\xAA\xAA\x00\x00
\x00\x00\xAA\x00
\xAA\x00\xAA\x00
\x00\x55\xAA\x00
\xAA\xAA\xAA\x00
\x55\x55\x55\x00
\xFF\x55\x55\x00
\x55\xFF\x55\x00
\xFF\xFF\x55\x00
\x55\x55\xFF\x00
\xFF\x55\xFF\x00
\x55\xFF\xFF\x00
\xFF\xFF\xFF\x00
_
\x00\x00\x00
\xAA\x00\x00
\x00\xAA\x00
\xAA\xAA\x00
\x00\x00\xAA
\xAA\x00\xAA
\x00\x55\xAA
\xAA\xAA\xAA
\x55\x55\x55
\xFF\x55\x55
\x55\xFF\x55
\xFF\xFF\x55
\x55\x55\xFF
\xFF\x55\xFF
\x55\xFF\xFF
\xFF\xFF\xFF
_
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
\x00\x00
_
 
(in ./HW-CGA/): ls *hex* | grep -v "\.html"
HW-CGA-C-hex-RGB-array.h
HW-CGA-C-names-hex-RGB-arrays.h
HW-CGA-hex-24.txt
HW-CGA-hex-24-0x-comma-space.txt
HW-CGA-hex-24-space.txt
HW-CGA-hex-24-html.txt
HW-CGA-hex-24-CAPS.txt
HW-CGA-hex-24-CAPS-space.txt
HW-CGA-hex-24-CAPS-forward-slash.txt
HW-CGA-hex-24-printf.txt
HW-CGA-hex-24-printf-CAPS-RGB888.txt
HW-CGA-hex-32-printf-CAPS-RGBA8888.txt
HW-CGA-hex-24-printf-CAPS-BGR888.txt
HW-CGA-hex-32-printf-CAPS-BGRA8888.txt
HW-CGA.xterm.16colors.sh