forked from rdeepak2002/reddit-place-script-2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mappings.py
54 lines (53 loc) · 1.23 KB
/
mappings.py
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
color_map = {
"#BE0039": 1, # dark red
"#FF4500": 2, # red
"#FFA800": 3, # orange
"#FFD635": 4, # yellow
"#00A368": 6, # dark green
"#00CC78": 7, # green
"#7EED56": 8, # light green
"#00756F": 9, # dark teal
"#009EAA": 10, # teal
"#2450A4": 12, # dark blue
"#3690EA": 13, # blue
"#51E9F4": 14, # light blue
"#493AC1": 15, # indigo
"#6A5CFF": 16, # periwinkle
"#811E9F": 18, # dark purple
"#B44AC0": 19, # purple
"#FF3881": 22, # pink
"#FF99AA": 23, # light pink
"#6D482F": 24, # dark brown
"#9C6926": 25, # brown
"#000000": 27, # black
"#898D90": 29, # gray
"#D4D7D9": 30, # light gray
"#FFFFFF": 31, # white
}
# map of pixel color ids to verbose name (for debugging)
name_map = {
1: "Dark Red",
2: "Bright Red",
3: "Orange",
4: "Yellow",
6: "Dark Green",
7: "Green",
8: "Light Green",
9: "Dark Teal",
10: "Teal",
12: "Dark Blue",
13: "Blue",
14: "Light Blue",
15: "Indigo",
16: "Periwinkle",
18: "Dark Purple",
19: "Purple",
22: "Pink",
23: "Light Pink",
24: "Dark Brown",
25: "Brown",
27: "Black",
29: "Gray",
30: "Light Gray",
31: "White",
}