-
Notifications
You must be signed in to change notification settings - Fork 74
/
color-palette.html
163 lines (155 loc) · 4.51 KB
/
color-palette.html
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.primary-dark { background-color: #285900 }
.primary-med { background-color: #589C21 }
.primary-light { background-color: #9ED56F }
.secondary-dark { background-color: #643800 }
.secondary-med { background-color: #AF7325 }
.secondary-light { background-color: #fcc684 }
.tertiary-a-dark { background-color: #022640 }
.tertiary-a-med { background-color: #1D4E70 }
.tertiary-a-light { background-color: #557D9A }
.tertiary-b-dark { background-color: #59001B }
.tertiary-b-med { background-color: #9D2146 }
.tertiary-b-light { background-color: #D6708F }
h1 {
margin: 0.5em 0;
font-size: 200%;
}
p {
margin: 0.5em 0;
}
.color-table {
margin: 2em 2em 5em;
border-collapse:collapse;
border:none;
border-spacing:0;
font-size:100%;
}
.color-table th {
padding: 0 1em 0 0;
text-align: right;
vertical-align: middle;
font-size: 100%;
font-weight: normal;
border: none;
}
.color-table td.sample {
width:6em; height:6em;
padding: 10px;
text-align:center;
vertical-align:middle;
font-size:90%;
border: 1px solid white;
white-space:nowrap;
}
.color-table td.sample-med {
width:18em;
}
.color-table.small td.sample {
width:3em; height:3em;
padding:0;
border:none;
}
.color-table.small td.sample-med {
width:9em;
}
.color-table .white { margin-bottom:0.2em; color:white }
.color-table .black { margin-top:0.2em; color:black }
</style>
</head>
<body>
<h1>GovTrack.us Color Palette</h1>
<p>Adapted from: <a href="http://paletton.com/#uid=72A0W0kpllZ++22Hjcxfiu300-j">http://paletton.com/#uid=72A0W0kpllZ++22Hjcxfiu300-j</a></p>
<table class="color-table">
<tbody><tr>
<th>Primary color:</th>
<td class="sample sample-dark primary-dark">
<div class="white">#285900</div>
<div class="black">#285900</div>
</td>
<td class="sample sample-med primary-med">
<div class="white">#589C21</div>
<div class="black">#589C21</div>
</td>
<td class="sample sample-light primary-light">
<div class="white">#9ED56F</div>
<div class="black">#9ED56F</div>
</td>
</tr>
<tr>
<th>Secondary color:</th>
<td class="sample sample-dark secondary-dark">
<div class="white">#643800</div>
<div class="black">#643800</div>
</td>
<td class="sample sample-med secondary-med">
<div class="white">#AF7325</div>
<div class="black">#AF7325</div>
</td>
<td class="sample sample-light secondary-light">
<div class="white">#fcc684</div>
<div class="black">#fcc684</div>
</td>
</tr>
<tr>
<th>Tertiary color (A):</th>
<td class="sample sample-dark tertiary-a-dark">
<div class="white">#022640</div>
<div class="black">#022640</div>
</td>
<td class="sample sample-med tertiary-a-med">
<div class="white">#1D4E70</div>
<div class="black">#1D4E70</div>
</td>
<td class="sample sample-light tertiary-a-light">
<div class="white">#557D9A</div>
<div class="black">#557D9A</div>
</td>
</tr>
<tr>
<th>Tertiary color (B):</th>
<td class="sample sample-dark tertiary-b-dark">
<div class="white">#59001B</div>
<div class="black">#59001B</div>
</td>
<td class="sample sample-med tertiary-b-med">
<div class="white">#9D2146</div>
<div class="black">#9D2146</div>
</td>
<td class="sample sample-light tertiary-b-light">
<div class="white">#D6708F</div>
<div class="black">#D6708F</div>
</td>
</tr>
</tbody></table>
<table class="color-table small">
<tbody><tr>
<th>Primary color:</th>
<td class="sample sample-dark primary-dark"></td>
<td class="sample sample-med primary-med"></td>
<td class="sample sample-light primary-light"></td>
</tr>
</tr>
<tr>
<th>Secondary color:</th>
<td class="sample sample-dark secondary-dark"></td>
<td class="sample sample-med secondary-med"></td>
<td class="sample sample-light secondary-light"></td>
</tr>
<tr>
<th>Tertiary color (A):</th>
<td class="sample sample-dark tertiary-a-dark"></td>
<td class="sample sample-med tertiary-a-med"></td>
<td class="sample sample-light tertiary-a-light"></td>
<tr>
<th>Tertiary color (B):</th>
<td class="sample sample-dark tertiary-b-dark"></td>
<td class="sample sample-med tertiary-b-med"></td>
<td class="sample sample-light tertiary-b-light"></td>
</tr>
</tbody></table>
</body>
</html>