Skip to content

Instantly share code, notes, and snippets.

@axsk
Created August 20, 2014 22:08
Show Gist options
  • Save axsk/84e736e46cb5b0af3f4a to your computer and use it in GitHub Desktop.
Save axsk/84e736e46cb5b0af3f4a to your computer and use it in GitHub Desktop.
colors for scientific visualization
% From http://colorbrewer2.org/
Paired =[ 166,206,227
31,120,180
178,223,138
51,160,44
251,154,153
227,26,28
253,191,111
255,127,0
202,178,214
106,61,154
255,255,153
177,89,40] / 255;
Set3 =[ 141,211,199
255,255,179
190,186,218
251,128,114
128,177,211
253,180,98
179,222,105
252,205,229
217,217,217
188,128,189
204,235,197
255,237,111] / 255;
% Munsell/Foster variants of http://www.iscc.org/pdf/PC54_1724_001.pdf
Munsell = [
255 201 215 % white
19 19 19 % black
255 179 0 % yellow
128 62 117 % purple
255 104 0 % orange
166 189 215 % light blue
193 0 32 % red
206 162 98 % buff
129 112 102 % gray
0 125 52 % green
246 118 142 % purplish pink
0 83 138 % blue
255 122 92 % yellowish pink
83 55 122 % violet
255 142 0 % orange yellow
179 40 81 % purplish red
244 200 0 % greenish yellow
127 24 13 % reddish brown
147 170 0 % yellow green
89 51 21 % yellowish brown
241 58 19 % reddish orange
35 44 22 ] / 255; % olive green
Foster = [
242 243 244 % white
34 34 34 % black
243 195 0 % yellow
135 86 146 % purple
243 132 0 % orange
161 202 241 % light blue
190 0 50 % red
194 178 128 % buff
132 132 130 % gray
0 136 86 % green
230 143 172 % purplish pink
0 103 165 % blue
249 147 121 % yellowish pink
96 78 151 % violet
246 166 0 % orange yellow
179 68 108 % purplish red
220 211 0 % greenish yellow
136 45 23 % reddish brown
141 182 0 % yellow green
101 69 34 % yellowish brown
226 88 34 % reddish orange
43 61 38 ] / 255; % olive green
Few = [ % Stephen Few, Show Me the Numbers
77,77,77 % gray
93,165,218 % blue
250,164,58 % orange
96,189,104 % green
241,124,176 % brown
178,118,178 % purple
222,207,63 % yellow
241,88,84 ] / 255; % red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment