-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolors.py
107 lines (92 loc) · 2.92 KB
/
colors.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
""" FlightGazer color settings module """
"""
VERSION: v.2.2.0
How to modify colors:
If you are using the predefined colors, simply use the name of the color.
Example:
setting = BLACK
If you are using your own custom color, you must use 'graphics.Color(red, green, blue)'
where the red, green, blue values are integers from 0 to 255.
Example:
setting = graphics.Color(123, 123, 123)
Your edits must between the # CONFIG_START and # CONFIG_END
lines as these settings are what will be copied over when using the updater.
"""
try:
from rgbmatrix import graphics
except:
from RGBMatrixEmulator import graphics
# Color helpers
BLACK = graphics.Color(0, 0, 0)
WARM_WHITE = graphics.Color(255, 230, 160)
COOL_WHITE = graphics.Color(168, 196, 255)
WHITE = graphics.Color(255, 255, 255)
GREY = graphics.Color(192, 192, 192)
DARK_GREY = graphics.Color(64, 64, 64)
RED = graphics.Color(255, 0, 0)
RED_LIGHT = graphics.Color(255, 195, 195)
RED_DARK = graphics.Color(150, 12, 12)
ORANGE = graphics.Color(227, 110, 0)
ORANGE_DARK = graphics.Color(113, 55, 0)
YELLOW_ORANGE = graphics.Color(245, 193, 7)
YELLOW = graphics.Color(255, 255, 0)
YELLOW_DARK = graphics.Color(128, 128, 0)
YELLOW_GREEN = graphics.Color(150, 255, 33)
OLIVE_GREEN = graphics.Color(61, 85, 12)
GREEN = graphics.Color(0, 200, 0)
GREEN_LIGHT = graphics.Color(110, 255, 110)
GREEN_DARK = graphics.Color(20, 100, 15)
GREEN_PURE = graphics.Color(0, 255, 0)
SEAFOAM_GREEN = graphics.Color(16, 227, 114)
CYAN = graphics.Color(60, 245, 255)
CYAN_DARK = graphics.Color(8, 131, 138)
BLUE = graphics.Color(0, 72, 255)
BLUE_LIGHT = graphics.Color(110, 182, 255)
BLUE_DARK = graphics.Color(0, 30, 156)
BLUE_DARKER = graphics.Color(18, 20, 105)
BLUE_PURE = graphics.Color(0, 0, 255)
PINK = graphics.Color(200, 0, 200)
PINK_DARK = graphics.Color(112, 0, 145)
PURPLE = graphics.Color(68, 0, 145)
# CONFIG_START
# ============ Clock Colors =============
# =======================================
clock_color = WARM_WHITE
seconds_color = WARM_WHITE
am_pm_color = ORANGE_DARK
day_of_week_color = PINK_DARK
date_color = PURPLE
# stats at the bottom
flyby_header_color = BLUE_DARK
flyby_color = BLUE
track_header_color = GREEN_DARK
track_color = GREEN
range_header_color = YELLOW_DARK
range_color = YELLOW
# sunrise/sunset/receiver stats in the middle
stats_color = DARK_GREY
# ======== Plane Readout Colors =========
# =======================================
# header
callsign_color = WHITE
distance_color = WARM_WHITE
country_color = GREY
# journey colors
origin_color = ORANGE
destination_color = ORANGE
arrow_color = ORANGE
# enhanced readout colors
latitude_color = ORANGE
longitude_color = ORANGE
groundtrack_color = PINK_DARK
verticalspeed_color = PURPLE
# stats at the bottom
altitude_heading_color = BLUE_DARK
altitude_color = BLUE
speed_heading_color = GREEN_DARK
speed_color = GREEN
time_rssi_heading_color = YELLOW_DARK
time_rssi_color = YELLOW
# plane count indicator
plane_count_color = RED
# CONFIG_END