-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
palette.go
71 lines (69 loc) · 2.52 KB
/
palette.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package ilda
import "image/color"
// DefaultPalette used by most ILDA files that do not contain a color palette
var DefaultPalette = color.Palette{
color.RGBA{0xff, 0x00, 0x00, 0xff}, // red
color.RGBA{0xff, 0x10, 0x00, 0xff},
color.RGBA{0xff, 0x20, 0x00, 0xff},
color.RGBA{0xff, 0x30, 0x00, 0xff},
color.RGBA{0xff, 0x40, 0x00, 0xff},
color.RGBA{0xff, 0x50, 0x00, 0xff},
color.RGBA{0xff, 0x60, 0x00, 0xff},
color.RGBA{0xff, 0x70, 0x00, 0xff},
color.RGBA{0xff, 0x80, 0x00, 0xff},
color.RGBA{0xff, 0x90, 0x00, 0xff},
color.RGBA{0xff, 0xa0, 0x00, 0xff},
color.RGBA{0xff, 0xb0, 0x00, 0xff},
color.RGBA{0xff, 0xb0, 0x00, 0xff},
color.RGBA{0xff, 0xc0, 0x00, 0xff},
color.RGBA{0xff, 0xd0, 0x00, 0xff},
color.RGBA{0xff, 0xe0, 0x00, 0xff},
color.RGBA{0xff, 0xf0, 0x00, 0xff},
color.RGBA{0xff, 0xff, 0x00, 0xff}, // yellow
color.RGBA{0xc0, 0xff, 0x00, 0xff},
color.RGBA{0xa0, 0xff, 0x00, 0xff},
color.RGBA{0x80, 0xff, 0x00, 0xff},
color.RGBA{0x60, 0xff, 0x00, 0xff},
color.RGBA{0x40, 0xff, 0x00, 0xff},
color.RGBA{0x20, 0xff, 0x00, 0xff},
color.RGBA{0x00, 0xff, 0x00, 0xff}, // green
color.RGBA{0x00, 0xff, 0x24, 0xff},
color.RGBA{0x00, 0xff, 0x49, 0xff},
color.RGBA{0x00, 0xff, 0x6d, 0xff},
color.RGBA{0x00, 0xff, 0x92, 0xff},
color.RGBA{0x00, 0xff, 0xb6, 0xff},
color.RGBA{0x00, 0xff, 0xdb, 0xff},
color.RGBA{0x00, 0xff, 0xff, 0xff}, // cyan
color.RGBA{0x00, 0xe3, 0xff, 0xff},
color.RGBA{0x00, 0xc6, 0xff, 0xff},
color.RGBA{0x00, 0xaa, 0xff, 0xff},
color.RGBA{0x00, 0x8e, 0xff, 0xff},
color.RGBA{0x00, 0x71, 0xff, 0xff},
color.RGBA{0x00, 0x55, 0xff, 0xff},
color.RGBA{0x00, 0x38, 0xff, 0xff},
color.RGBA{0x00, 0x1c, 0xff, 0xff},
color.RGBA{0x00, 0x00, 0xff, 0xff}, // blue
color.RGBA{0x20, 0x00, 0xff, 0xff},
color.RGBA{0x40, 0x00, 0xff, 0xff},
color.RGBA{0x60, 0x00, 0xff, 0xff},
color.RGBA{0x80, 0x00, 0xff, 0xff},
color.RGBA{0xa0, 0x00, 0xff, 0xff},
color.RGBA{0xc0, 0x00, 0xff, 0xff},
color.RGBA{0xe0, 0x00, 0xff, 0xff},
color.RGBA{0xff, 0x00, 0xff, 0xff}, // magenta
color.RGBA{0xff, 0x20, 0xff, 0xff},
color.RGBA{0xff, 0x40, 0xff, 0xff},
color.RGBA{0xff, 0x60, 0xff, 0xff},
color.RGBA{0xff, 0x80, 0xff, 0xff},
color.RGBA{0xff, 0xa0, 0xff, 0xff},
color.RGBA{0xff, 0xc0, 0xff, 0xff},
color.RGBA{0xff, 0xe0, 0xff, 0xff},
color.RGBA{0xff, 0xff, 0xff, 0xff}, // white
color.RGBA{0xff, 0xe0, 0xe0, 0xff},
color.RGBA{0xff, 0xc0, 0xc0, 0xff},
color.RGBA{0xff, 0xa0, 0xa0, 0xff},
color.RGBA{0xff, 0x80, 0x80, 0xff},
color.RGBA{0xff, 0x60, 0x60, 0xff},
color.RGBA{0xff, 0x40, 0x40, 0xff},
color.RGBA{0xff, 0x20, 0x20, 0xff},
}