00001 #ifndef QGSCOLORBREWERPALETTE_H
00002 #define QGSCOLORBREWERPALETTE_H
00003
00004 extern const char* brewerString;
00005
00006
00007 class CORE_EXPORT QgsColorBrewerPalette
00008 {
00009 public:
00010 static QList<QColor> listSchemeColors( QString schemeName, int colors )
00011 {
00012 QList<QColor> pal;
00013 QString palette( brewerString );
00014 QStringList list = palette.split( QChar( '\n' ) );
00015 foreach( QString entry, list )
00016 {
00017 QStringList items = entry.split( QChar( '-' ) );
00018 if ( items.count() != 3 || items[0] != schemeName || items[1].toInt() != colors )
00019 continue;
00020 QStringList colors = items[2].split( QChar( ' ' ) );
00021 foreach( QString clr, colors )
00022 pal << parseColor( clr );
00023 }
00024 return pal;
00025 }
00026
00027 static QStringList listSchemes()
00028 {
00029 QStringList schemes;
00030
00031 QString palette( brewerString );
00032 QStringList list = palette.split( QChar( '\n' ) );
00033 foreach( QString entry, list )
00034 {
00035 QStringList items = entry.split( QChar( '-' ) );
00036 if ( items.count() != 3 ) continue;
00037 if ( !schemes.contains( items[0] ) )
00038 schemes << items[0];
00039 }
00040 return schemes;
00041 }
00042
00043 static QList<int> listSchemeVariants( QString schemeName )
00044 {
00045 QList<int> variants;
00046
00047 QString palette( brewerString );
00048 QStringList list = palette.split( QChar( '\n' ) );
00049 foreach( QString entry, list )
00050 {
00051 QStringList items = entry.split( QChar( '-' ) );
00052 if ( items.count() != 3 || items[0] != schemeName ) continue;
00053 variants << items[1].toInt();
00054 }
00055
00056 return variants;
00057 }
00058
00059 static QColor parseColor( QString color )
00060 {
00061 QStringList p = color.split( QChar( ',' ) );
00062 if ( p.count() != 3 ) return QColor();
00063 return QColor( p[0].toInt(), p[1].toInt(), p[2].toInt() );
00064 }
00065
00066 };
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078 const char* brewerString =
00079 "Spectral-3-252,141,89 255,255,191 153,213,148\n"
00080 "Spectral-4-215,25,28 253,174,97 171,221,164 43,131,186\n"
00081 "Spectral-5-215,25,28 253,174,97 255,255,191 171,221,164 43,131,186\n"
00082 "Spectral-6-213,62,79 252,141,89 254,224,139 230,245,152 153,213,148 50,136,189\n"
00083 "Spectral-7-213,62,79 252,141,89 254,224,139 255,255,191 230,245,152 153,213,148 50,136,189\n"
00084 "Spectral-8-213,62,79 244,109,67 253,174,97 254,224,139 230,245,152 171,221,164 102,194,165 50,136,189\n"
00085 "Spectral-9-213,62,79 244,109,67 253,174,97 254,224,139 255,255,191 230,245,152 171,221,164 102,194,165 50,136,189\n"
00086 "Spectral-10-158,1,66 213,62,79 244,109,67 253,174,97 254,224,139 230,245,152 171,221,164 102,194,165 50,136,189 94,79,162\n"
00087 "Spectral-11-158,1,66 213,62,79 244,109,67 253,174,97 254,224,139 255,255,191 230,245,152 171,221,164 102,194,165 50,136,189 94,79,162\n"
00088 "RdYlGn-3-252,141,89 255,255,191 145,207,96\n"
00089 "RdYlGn-4-215,25,28 253,174,97 166,217,106 26,150,65\n"
00090 "RdYlGn-5-215,25,28 253,174,97 255,255,191 166,217,106 26,150,65\n"
00091 "RdYlGn-6-215,48,39 252,141,89 254,224,139 217,239,139 145,207,96 26,152,80\n"
00092 "RdYlGn-7-215,48,39 252,141,89 254,224,139 255,255,191 217,239,139 145,207,96 26,152,80\n"
00093 "RdYlGn-8-215,48,39 244,109,67 253,174,97 254,224,139 217,239,139 166,217,106 102,189,99 26,152,80\n"
00094 "RdYlGn-9-215,48,39 244,109,67 253,174,97 254,224,139 255,255,191 217,239,139 166,217,106 102,189,99 26,152,80\n"
00095 "RdYlGn-10-165,0,38 215,48,39 244,109,67 253,174,97 254,224,139 217,239,139 166,217,106 102,189,99 26,152,80 0,104,55\n"
00096 "RdYlGn-11-165,0,38 215,48,39 244,109,67 253,174,97 254,224,139 255,255,191 217,239,139 166,217,106 102,189,99 26,152,80 0,104,55\n"
00097 "Set2-3-102,194,165 252,141,98 141,160,203\n"
00098 "Set2-4-102,194,165 252,141,98 141,160,203 231,138,195\n"
00099 "Set2-5-102,194,165 252,141,98 141,160,203 231,138,195 166,216,84\n"
00100 "Set2-6-102,194,165 252,141,98 141,160,203 231,138,195 166,216,84 255,217,47\n"
00101 "Set2-7-102,194,165 252,141,98 141,160,203 231,138,195 166,216,84 255,217,47 229,196,148\n"
00102 "Set2-8-102,194,165 252,141,98 141,160,203 231,138,195 166,216,84 255,217,47 229,196,148 179,179,179\n"
00103 "Accent-3-127,201,127 190,174,212 253,192,134\n"
00104 "Accent-4-127,201,127 190,174,212 253,192,134 255,255,153\n"
00105 "Accent-5-127,201,127 190,174,212 253,192,134 255,255,153 56,108,176\n"
00106 "Accent-6-127,201,127 190,174,212 253,192,134 255,255,153 56,108,176 240,2,127\n"
00107 "Accent-7-127,201,127 190,174,212 253,192,134 255,255,153 56,108,176 240,2,127 191,91,23\n"
00108 "Accent-8-127,201,127 190,174,212 253,192,134 255,255,153 56,108,176 240,2,127 191,91,23 102,102,102\n"
00109 "OrRd-3-254,232,200 253,187,132 227,74,51\n"
00110 "OrRd-4-254,240,217 253,204,138 252,141,89 215,48,31\n"
00111 "OrRd-5-254,240,217 253,204,138 252,141,89 227,74,51 179,0,0\n"
00112 "OrRd-6-254,240,217 253,212,158 253,187,132 252,141,89 227,74,51 179,0,0\n"
00113 "OrRd-7-254,240,217 253,212,158 253,187,132 252,141,89 239,101,72 215,48,31 153,0,0\n"
00114 "OrRd-8-255,247,236 254,232,200 253,212,158 253,187,132 252,141,89 239,101,72 215,48,31 153,0,0\n"
00115 "OrRd-9-255,247,236 254,232,200 253,212,158 253,187,132 252,141,89 239,101,72 215,48,31 179,0,0 127,0,0\n"
00116 "Set1-3-228,26,28 55,126,184 77,175,74\n"
00117 "Set1-4-228,26,28 55,126,184 77,175,74 152,78,163\n"
00118 "Set1-5-228,26,28 55,126,184 77,175,74 152,78,163 255,127,0\n"
00119 "Set1-6-228,26,28 55,126,184 77,175,74 152,78,163 255,127,0 255,255,51\n"
00120 "Set1-7-228,26,28 55,126,184 77,175,74 152,78,163 255,127,0 255,255,51 166,86,40\n"
00121 "Set1-8-228,26,28 55,126,184 77,175,74 152,78,163 255,127,0 255,255,51 166,86,40 247,129,191\n"
00122 "Set1-9-228,26,28 55,126,184 77,175,74 152,78,163 255,127,0 255,255,51 166,86,40 247,129,191 153,153,153\n"
00123 "PuBu-3-236,231,242 166,189,219 43,140,190\n"
00124 "PuBu-4-241,238,246 189,201,225 116,169,207 5,112,176\n"
00125 "PuBu-5-241,238,246 189,201,225 116,169,207 43,140,190 4,90,141\n"
00126 "PuBu-6-241,238,246 208,209,230 166,189,219 116,169,207 43,140,190 4,90,141\n"
00127 "PuBu-7-241,238,246 208,209,230 166,189,219 116,169,207 54,144,192 5,112,176 3,78,123\n"
00128 "PuBu-8-255,247,251 236,231,242 208,209,230 166,189,219 116,169,207 54,144,192 5,112,176 3,78,123\n"
00129 "PuBu-9-255,247,251 236,231,242 208,209,230 166,189,219 116,169,207 54,144,192 5,112,176 4,90,141 2,56,88\n"
00130 "Set3-3-141,211,199 255,255,179 190,186,218\n"
00131 "Set3-4-141,211,199 255,255,179 190,186,218 251,128,114\n"
00132 "Set3-5-141,211,199 255,255,179 190,186,218 251,128,114 128,177,211\n"
00133 "Set3-6-141,211,199 255,255,179 190,186,218 251,128,114 128,177,211 253,180,98\n"
00134 "Set3-7-141,211,199 255,255,179 190,186,218 251,128,114 128,177,211 253,180,98 179,222,105\n"
00135 "Set3-8-141,211,199 255,255,179 190,186,218 251,128,114 128,177,211 253,180,98 179,222,105 252,205,229\n"
00136 "Set3-9-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\n"
00137 "Set3-10-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\n"
00138 "Set3-11-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\n"
00139 "Set3-12-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\n"
00140 "BuPu-3-224,236,244 158,188,218 136,86,167\n"
00141 "BuPu-4-237,248,251 179,205,227 140,150,198 136,65,157\n"
00142 "BuPu-5-237,248,251 179,205,227 140,150,198 136,86,167 129,15,124\n"
00143 "BuPu-6-237,248,251 191,211,230 158,188,218 140,150,198 136,86,167 129,15,124\n"
00144 "BuPu-7-237,248,251 191,211,230 158,188,218 140,150,198 140,107,177 136,65,157 110,1,107\n"
00145 "BuPu-8-247,252,253 224,236,244 191,211,230 158,188,218 140,150,198 140,107,177 136,65,157 110,1,107\n"
00146 "BuPu-9-247,252,253 224,236,244 191,211,230 158,188,218 140,150,198 140,107,177 136,65,157 129,15,124 77,0,75\n"
00147 "Dark2-3-27,158,119 217,95,2 117,112,179\n"
00148 "Dark2-4-27,158,119 217,95,2 117,112,179 231,41,138\n"
00149 "Dark2-5-27,158,119 217,95,2 117,112,179 231,41,138 102,166,30\n"
00150 "Dark2-6-27,158,119 217,95,2 117,112,179 231,41,138 102,166,30 230,171,2\n"
00151 "Dark2-7-27,158,119 217,95,2 117,112,179 231,41,138 102,166,30 230,171,2 166,118,29\n"
00152 "Dark2-8-27,158,119 217,95,2 117,112,179 231,41,138 102,166,30 230,171,2 166,118,29 102,102,102\n"
00153 "RdBu-3-239,138,98 247,247,247 103,169,207\n"
00154 "RdBu-4-202,0,32 244,165,130 146,197,222 5,113,176\n"
00155 "RdBu-5-202,0,32 244,165,130 247,247,247 146,197,222 5,113,176\n"
00156 "RdBu-6-178,24,43 239,138,98 253,219,199 209,229,240 103,169,207 33,102,172\n"
00157 "RdBu-7-178,24,43 239,138,98 253,219,199 247,247,247 209,229,240 103,169,207 33,102,172\n"
00158 "RdBu-8-178,24,43 214,96,77 244,165,130 253,219,199 209,229,240 146,197,222 67,147,195 33,102,172\n"
00159 "RdBu-9-178,24,43 214,96,77 244,165,130 253,219,199 247,247,247 209,229,240 146,197,222 67,147,195 33,102,172\n"
00160 "RdBu-10-103,0,31 178,24,43 214,96,77 244,165,130 253,219,199 209,229,240 146,197,222 67,147,195 33,102,172 5,48,97\n"
00161 "RdBu-11-103,0,31 178,24,43 214,96,77 244,165,130 253,219,199 247,247,247 209,229,240 146,197,222 67,147,195 33,102,172 5,48,97\n"
00162 "Oranges-3-254,230,206 253,174,107 230,85,13\n"
00163 "Oranges-4-254,237,222 253,190,133 253,141,60 217,71,1\n"
00164 "Oranges-5-254,237,222 253,190,133 253,141,60 230,85,13 166,54,3\n"
00165 "Oranges-6-254,237,222 253,208,162 253,174,107 253,141,60 230,85,13 166,54,3\n"
00166 "Oranges-7-254,237,222 253,208,162 253,174,107 253,141,60 241,105,19 217,72,1 140,45,4\n"
00167 "Oranges-8-255,245,235 254,230,206 253,208,162 253,174,107 253,141,60 241,105,19 217,72,1 140,45,4\n"
00168 "Oranges-9-255,245,235 254,230,206 253,208,162 253,174,107 253,141,60 241,105,19 217,72,1 166,54,3 127,39,4\n"
00169 "BuGn-3-229,245,249 153,216,201 44,162,95\n"
00170 "BuGn-4-237,248,251 178,226,226 102,194,164 35,139,69\n"
00171 "BuGn-5-237,248,251 178,226,226 102,194,164 44,162,95 0,109,44\n"
00172 "BuGn-6-237,248,251 204,236,230 153,216,201 102,194,164 44,162,95 0,109,44\n"
00173 "BuGn-7-237,248,251 204,236,230 153,216,201 102,194,164 65,174,118 35,139,69 0,88,36\n"
00174 "BuGn-8-247,252,253 229,245,249 204,236,230 153,216,201 102,194,164 65,174,118 35,139,69 0,88,36\n"
00175 "BuGn-9-247,252,253 229,245,249 204,236,230 153,216,201 102,194,164 65,174,118 35,139,69 0,109,44 0,68,27\n"
00176 "PiYG-3-233,163,201 247,247,247 161,215,106\n"
00177 "PiYG-4-208,28,139 241,182,218 184,225,134 77,172,38\n"
00178 "PiYG-5-208,28,139 241,182,218 247,247,247 184,225,134 77,172,38\n"
00179 "PiYG-6-197,27,125 233,163,201 253,224,239 230,245,208 161,215,106 77,146,33\n"
00180 "PiYG-7-197,27,125 233,163,201 253,224,239 247,247,247 230,245,208 161,215,106 77,146,33\n"
00181 "PiYG-8-197,27,125 222,119,174 241,182,218 253,224,239 230,245,208 184,225,134 127,188,65 77,146,33\n"
00182 "PiYG-9-197,27,125 222,119,174 241,182,218 253,224,239 247,247,247 230,245,208 184,225,134 127,188,65 77,146,33\n"
00183 "PiYG-10-142,1,82 197,27,125 222,119,174 241,182,218 253,224,239 230,245,208 184,225,134 127,188,65 77,146,33 39,100,25\n"
00184 "PiYG-11-142,1,82 197,27,125 222,119,174 241,182,218 253,224,239 247,247,247 230,245,208 184,225,134 127,188,65 77,146,33 39,100,25\n"
00185 "YlOrBr-3-255,247,188 254,196,79 217,95,14\n"
00186 "YlOrBr-4-255,255,212 254,217,142 254,153,41 204,76,2\n"
00187 "YlOrBr-5-255,255,212 254,217,142 254,153,41 217,95,14 153,52,4\n"
00188 "YlOrBr-6-255,255,212 254,227,145 254,196,79 254,153,41 217,95,14 153,52,4\n"
00189 "YlOrBr-7-255,255,212 254,227,145 254,196,79 254,153,41 236,112,20 204,76,2 140,45,4\n"
00190 "YlOrBr-8-255,255,229 255,247,188 254,227,145 254,196,79 254,153,41 236,112,20 204,76,2 140,45,4\n"
00191 "YlOrBr-9-255,255,229 255,247,188 254,227,145 254,196,79 254,153,41 236,112,20 204,76,2 153,52,4 102,37,6\n"
00192 "YlGn-3-247,252,185 173,221,142 49,163,84\n"
00193 "YlGn-4-255,255,204 194,230,153 120,198,121 35,132,67\n"
00194 "YlGn-5-255,255,204 194,230,153 120,198,121 49,163,84 0,104,55\n"
00195 "YlGn-6-255,255,204 217,240,163 173,221,142 120,198,121 49,163,84 0,104,55\n"
00196 "YlGn-7-255,255,204 217,240,163 173,221,142 120,198,121 65,171,93 35,132,67 0,90,50\n"
00197 "YlGn-8-255,255,229 247,252,185 217,240,163 173,221,142 120,198,121 65,171,93 35,132,67 0,90,50\n"
00198 "YlGn-9-255,255,229 247,252,185 217,240,163 173,221,142 120,198,121 65,171,93 35,132,67 0,104,55 0,69,41\n"
00199 "Reds-3-254,224,210 252,146,114 222,45,38\n"
00200 "Reds-4-254,229,217 252,174,145 251,106,74 203,24,29\n"
00201 "Reds-5-254,229,217 252,174,145 251,106,74 222,45,38 165,15,21\n"
00202 "Reds-6-254,229,217 252,187,161 252,146,114 251,106,74 222,45,38 165,15,21\n"
00203 "Reds-7-254,229,217 252,187,161 252,146,114 251,106,74 239,59,44 203,24,29 153,0,13\n"
00204 "Reds-8-255,245,240 254,224,210 252,187,161 252,146,114 251,106,74 239,59,44 203,24,29 153,0,13\n"
00205 "Reds-9-255,245,240 254,224,210 252,187,161 252,146,114 251,106,74 239,59,44 203,24,29 165,15,21 103,0,13\n"
00206 "RdPu-3-253,224,221 250,159,181 197,27,138\n"
00207 "RdPu-4-254,235,226 251,180,185 247,104,161 174,1,126\n"
00208 "RdPu-5-254,235,226 251,180,185 247,104,161 197,27,138 122,1,119\n"
00209 "RdPu-6-254,235,226 252,197,192 250,159,181 247,104,161 197,27,138 122,1,119\n"
00210 "RdPu-7-254,235,226 252,197,192 250,159,181 247,104,161 221,52,151 174,1,126 122,1,119\n"
00211 "RdPu-8-255,247,243 253,224,221 252,197,192 250,159,181 247,104,161 221,52,151 174,1,126 122,1,119\n"
00212 "RdPu-9-255,247,243 253,224,221 252,197,192 250,159,181 247,104,161 221,52,151 174,1,126 122,1,119 73,0,106\n"
00213 "Greens-3-229,245,224 161,217,155 49,163,84\n"
00214 "Greens-4-237,248,233 186,228,179 116,196,118 35,139,69\n"
00215 "Greens-5-237,248,233 186,228,179 116,196,118 49,163,84 0,109,44\n"
00216 "Greens-6-237,248,233 199,233,192 161,217,155 116,196,118 49,163,84 0,109,44\n"
00217 "Greens-7-237,248,233 199,233,192 161,217,155 116,196,118 65,171,93 35,139,69 0,90,50\n"
00218 "Greens-8-247,252,245 229,245,224 199,233,192 161,217,155 116,196,118 65,171,93 35,139,69 0,90,50\n"
00219 "Greens-9-247,252,245 229,245,224 199,233,192 161,217,155 116,196,118 65,171,93 35,139,69 0,109,44 0,68,27\n"
00220 "PRGn-3-175,141,195 247,247,247 127,191,123\n"
00221 "PRGn-4-123,50,148 194,165,207 166,219,160 0,136,55\n"
00222 "PRGn-5-123,50,148 194,165,207 247,247,247 166,219,160 0,136,55\n"
00223 "PRGn-6-118,42,131 175,141,195 231,212,232 217,240,211 127,191,123 27,120,55\n"
00224 "PRGn-7-118,42,131 175,141,195 231,212,232 247,247,247 217,240,211 127,191,123 27,120,55\n"
00225 "PRGn-8-118,42,131 153,112,171 194,165,207 231,212,232 217,240,211 166,219,160 90,174,97 27,120,55\n"
00226 "PRGn-9-118,42,131 153,112,171 194,165,207 231,212,232 247,247,247 217,240,211 166,219,160 90,174,97 27,120,55\n"
00227 "PRGn-10-64,0,75 118,42,131 153,112,171 194,165,207 231,212,232 217,240,211 166,219,160 90,174,97 27,120,55 0,68,27\n"
00228 "PRGn-11-64,0,75 118,42,131 153,112,171 194,165,207 231,212,232 247,247,247 217,240,211 166,219,160 90,174,97 27,120,55 0,68,27\n"
00229 "YlGnBu-3-237,248,177 127,205,187 44,127,184\n"
00230 "YlGnBu-4-255,255,204 161,218,180 65,182,196 34,94,168\n"
00231 "YlGnBu-5-255,255,204 161,218,180 65,182,196 44,127,184 37,52,148\n"
00232 "YlGnBu-6-255,255,204 199,233,180 127,205,187 65,182,196 44,127,184 37,52,148\n"
00233 "YlGnBu-7-255,255,204 199,233,180 127,205,187 65,182,196 29,145,192 34,94,168 12,44,132\n"
00234 "YlGnBu-8-255,255,217 237,248,177 199,233,180 127,205,187 65,182,196 29,145,192 34,94,168 12,44,132\n"
00235 "YlGnBu-9-255,255,217 237,248,177 199,233,180 127,205,187 65,182,196 29,145,192 34,94,168 37,52,148 8,29,88\n"
00236 "RdYlBu-3-252,141,89 255,255,191 145,191,219\n"
00237 "RdYlBu-4-215,25,28 253,174,97 171,217,233 44,123,182\n"
00238 "RdYlBu-5-215,25,28 253,174,97 255,255,191 171,217,233 44,123,182\n"
00239 "RdYlBu-6-215,48,39 252,141,89 254,224,144 224,243,248 145,191,219 69,117,180\n"
00240 "RdYlBu-7-215,48,39 252,141,89 254,224,144 255,255,191 224,243,248 145,191,219 69,117,180\n"
00241 "RdYlBu-8-215,48,39 244,109,67 253,174,97 254,224,144 224,243,248 171,217,233 116,173,209 69,117,180\n"
00242 "RdYlBu-9-215,48,39 244,109,67 253,174,97 254,224,144 255,255,191 224,243,248 171,217,233 116,173,209 69,117,180\n"
00243 "RdYlBu-10-165,0,38 215,48,39 244,109,67 253,174,97 254,224,144 224,243,248 171,217,233 116,173,209 69,117,180 49,54,149\n"
00244 "RdYlBu-11-165,0,38 215,48,39 244,109,67 253,174,97 254,224,144 255,255,191 224,243,248 171,217,233 116,173,209 69,117,180 49,54,149\n"
00245 "Paired-3-166,206,227 31,120,180 178,223,138\n"
00246 "Paired-4-166,206,227 31,120,180 178,223,138 51,160,44\n"
00247 "Paired-5-166,206,227 31,120,180 178,223,138 51,160,44 251,154,153\n"
00248 "Paired-6-166,206,227 31,120,180 178,223,138 51,160,44 251,154,153 227,26,28\n"
00249 "Paired-7-166,206,227 31,120,180 178,223,138 51,160,44 251,154,153 227,26,28 253,191,111\n"
00250 "Paired-8-166,206,227 31,120,180 178,223,138 51,160,44 251,154,153 227,26,28 253,191,111 255,127,0\n"
00251 "Paired-9-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\n"
00252 "Paired-10-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\n"
00253 "Paired-11-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\n"
00254 "Paired-12-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\n"
00255 "BrBG-3-216,179,101 245,245,245 90,180,172\n"
00256 "BrBG-4-166,97,26 223,194,125 128,205,193 1,133,113\n"
00257 "BrBG-5-166,97,26 223,194,125 245,245,245 128,205,193 1,133,113\n"
00258 "BrBG-6-140,81,10 216,179,101 246,232,195 199,234,229 90,180,172 1,102,94\n"
00259 "BrBG-7-140,81,10 216,179,101 246,232,195 245,245,245 199,234,229 90,180,172 1,102,94\n"
00260 "BrBG-8-140,81,10 191,129,45 223,194,125 246,232,195 199,234,229 128,205,193 53,151,143 1,102,94\n"
00261 "BrBG-9-140,81,10 191,129,45 223,194,125 246,232,195 245,245,245 199,234,229 128,205,193 53,151,143 1,102,94\n"
00262 "BrBG-10-84,48,5 140,81,10 191,129,45 223,194,125 246,232,195 199,234,229 128,205,193 53,151,143 1,102,94 0,60,48\n"
00263 "BrBG-11-84,48,5 140,81,10 191,129,45 223,194,125 246,232,195 245,245,245 199,234,229 128,205,193 53,151,143 1,102,94 0,60,48\n"
00264 "Purples-3-239,237,245 188,189,220 117,107,177\n"
00265 "Purples-4-242,240,247 203,201,226 158,154,200 106,81,163\n"
00266 "Purples-5-242,240,247 203,201,226 158,154,200 117,107,177 84,39,143\n"
00267 "Purples-6-242,240,247 218,218,235 188,189,220 158,154,200 117,107,177 84,39,143\n"
00268 "Purples-7-242,240,247 218,218,235 188,189,220 158,154,200 128,125,186 106,81,163 74,20,134\n"
00269 "Purples-8-252,251,253 239,237,245 218,218,235 188,189,220 158,154,200 128,125,186 106,81,163 74,20,134\n"
00270 "Purples-9-252,251,253 239,237,245 218,218,235 188,189,220 158,154,200 128,125,186 106,81,163 84,39,143 63,0,125\n"
00271 "Pastel2-3-179,226,205 253,205,172 203,213,232\n"
00272 "Pastel2-4-179,226,205 253,205,172 203,213,232 244,202,228\n"
00273 "Pastel2-5-179,226,205 253,205,172 203,213,232 244,202,228 230,245,201\n"
00274 "Pastel2-6-179,226,205 253,205,172 203,213,232 244,202,228 230,245,201 255,242,174\n"
00275 "Pastel2-7-179,226,205 253,205,172 203,213,232 244,202,228 230,245,201 255,242,174 241,226,204\n"
00276 "Pastel2-8-179,226,205 253,205,172 203,213,232 244,202,228 230,245,201 255,242,174 241,226,204 204,204,204\n"
00277 "Pastel1-3-251,180,174 179,205,227 204,235,197\n"
00278 "Pastel1-4-251,180,174 179,205,227 204,235,197 222,203,228\n"
00279 "Pastel1-5-251,180,174 179,205,227 204,235,197 222,203,228 254,217,166\n"
00280 "Pastel1-6-251,180,174 179,205,227 204,235,197 222,203,228 254,217,166 255,255,204\n"
00281 "Pastel1-7-251,180,174 179,205,227 204,235,197 222,203,228 254,217,166 255,255,204 229,216,189\n"
00282 "Pastel1-8-251,180,174 179,205,227 204,235,197 222,203,228 254,217,166 255,255,204 229,216,189 253,218,236\n"
00283 "Pastel1-9-251,180,174 179,205,227 204,235,197 222,203,228 254,217,166 255,255,204 229,216,189 253,218,236 242,242,242\n"
00284 "GnBu-3-224,243,219 168,221,181 67,162,202\n"
00285 "GnBu-4-240,249,232 186,228,188 123,204,196 43,140,190\n"
00286 "GnBu-5-240,249,232 186,228,188 123,204,196 67,162,202 8,104,172\n"
00287 "GnBu-6-240,249,232 204,235,197 168,221,181 123,204,196 67,162,202 8,104,172\n"
00288 "GnBu-7-240,249,232 204,235,197 168,221,181 123,204,196 78,179,211 43,140,190 8,88,158\n"
00289 "GnBu-8-247,252,240 224,243,219 204,235,197 168,221,181 123,204,196 78,179,211 43,140,190 8,88,158\n"
00290 "GnBu-9-247,252,240 224,243,219 204,235,197 168,221,181 123,204,196 78,179,211 43,140,190 8,104,172 8,64,129\n"
00291 "Greys-3-240,240,240 189,189,189 99,99,99\n"
00292 "Greys-4-247,247,247 204,204,204 150,150,150 82,82,82\n"
00293 "Greys-5-247,247,247 204,204,204 150,150,150 99,99,99 37,37,37\n"
00294 "Greys-6-247,247,247 217,217,217 189,189,189 150,150,150 99,99,99 37,37,37\n"
00295 "Greys-7-247,247,247 217,217,217 189,189,189 150,150,150 115,115,115 82,82,82 37,37,37\n"
00296 "Greys-8-255,255,255 240,240,240 217,217,217 189,189,189 150,150,150 115,115,115 82,82,82 37,37,37\n"
00297 "Greys-9-255,255,255 240,240,240 217,217,217 189,189,189 150,150,150 115,115,115 82,82,82 37,37,37 0,0,0\n"
00298 "RdGy-3-239,138,98 255,255,255 153,153,153\n"
00299 "RdGy-4-202,0,32 244,165,130 186,186,186 64,64,64\n"
00300 "RdGy-5-202,0,32 244,165,130 255,255,255 186,186,186 64,64,64\n"
00301 "RdGy-6-178,24,43 239,138,98 253,219,199 224,224,224 153,153,153 77,77,77\n"
00302 "RdGy-7-178,24,43 239,138,98 253,219,199 255,255,255 224,224,224 153,153,153 77,77,77\n"
00303 "RdGy-8-178,24,43 214,96,77 244,165,130 253,219,199 224,224,224 186,186,186 135,135,135 77,77,77\n"
00304 "RdGy-9-178,24,43 214,96,77 244,165,130 253,219,199 255,255,255 224,224,224 186,186,186 135,135,135 77,77,77\n"
00305 "RdGy-10-103,0,31 178,24,43 214,96,77 244,165,130 253,219,199 224,224,224 186,186,186 135,135,135 77,77,77 26,26,26\n"
00306 "RdGy-11-103,0,31 178,24,43 214,96,77 244,165,130 253,219,199 255,255,255 224,224,224 186,186,186 135,135,135 77,77,77 26,26,26\n"
00307 "YlOrRd-3-255,237,160 254,178,76 240,59,32\n"
00308 "YlOrRd-4-255,255,178 254,204,92 253,141,60 227,26,28\n"
00309 "YlOrRd-5-255,255,178 254,204,92 253,141,60 240,59,32 189,0,38\n"
00310 "YlOrRd-6-255,255,178 254,217,118 254,178,76 253,141,60 240,59,32 189,0,38\n"
00311 "YlOrRd-7-255,255,178 254,217,118 254,178,76 253,141,60 252,78,42 227,26,28 177,0,38\n"
00312 "YlOrRd-8-255,255,204 255,237,160 254,217,118 254,178,76 253,141,60 252,78,42 227,26,28 177,0,38\n"
00313 "YlOrRd-9-255,255,204 255,237,160 254,217,118 254,178,76 253,141,60 252,78,42 227,26,28 189,0,38 128,0,38\n"
00314 "PuOr-3-241,163,64 247,247,247 153,142,195\n"
00315 "PuOr-4-230,97,1 253,184,99 178,171,210 94,60,153\n"
00316 "PuOr-5-230,97,1 253,184,99 247,247,247 178,171,210 94,60,153\n"
00317 "PuOr-6-179,88,6 241,163,64 254,224,182 216,218,235 153,142,195 84,39,136\n"
00318 "PuOr-7-179,88,6 241,163,64 254,224,182 247,247,247 216,218,235 153,142,195 84,39,136\n"
00319 "PuOr-8-179,88,6 224,130,20 253,184,99 254,224,182 216,218,235 178,171,210 128,115,172 84,39,136\n"
00320 "PuOr-9-179,88,6 224,130,20 253,184,99 254,224,182 247,247,247 216,218,235 178,171,210 128,115,172 84,39,136\n"
00321 "PuOr-10-127,59,8 179,88,6 224,130,20 253,184,99 254,224,182 216,218,235 178,171,210 128,115,172 84,39,136 45,0,75\n"
00322 "PuOr-11-127,59,8 179,88,6 224,130,20 253,184,99 254,224,182 247,247,247 216,218,235 178,171,210 128,115,172 84,39,136 45,0,75\n"
00323 "PuRd-3-231,225,239 201,148,199 221,28,119\n"
00324 "PuRd-4-241,238,246 215,181,216 223,101,176 206,18,86\n"
00325 "PuRd-5-241,238,246 215,181,216 223,101,176 221,28,119 152,0,67\n"
00326 "PuRd-6-241,238,246 212,185,218 201,148,199 223,101,176 221,28,119 152,0,67\n"
00327 "PuRd-7-241,238,246 212,185,218 201,148,199 223,101,176 231,41,138 206,18,86 145,0,63\n"
00328 "PuRd-8-247,244,249 231,225,239 212,185,218 201,148,199 223,101,176 231,41,138 206,18,86 145,0,63\n"
00329 "PuRd-9-247,244,249 231,225,239 212,185,218 201,148,199 223,101,176 231,41,138 206,18,86 152,0,67 103,0,31\n"
00330 "Blues-3-222,235,247 158,202,225 49,130,189\n"
00331 "Blues-4-239,243,255 189,215,231 107,174,214 33,113,181\n"
00332 "Blues-5-239,243,255 189,215,231 107,174,214 49,130,189 8,81,156\n"
00333 "Blues-6-239,243,255 198,219,239 158,202,225 107,174,214 49,130,189 8,81,156\n"
00334 "Blues-7-239,243,255 198,219,239 158,202,225 107,174,214 66,146,198 33,113,181 8,69,148\n"
00335 "Blues-8-247,251,255 222,235,247 198,219,239 158,202,225 107,174,214 66,146,198 33,113,181 8,69,148\n"
00336 "Blues-9-247,251,255 222,235,247 198,219,239 158,202,225 107,174,214 66,146,198 33,113,181 8,81,156 8,48,107\n"
00337 "PuBuGn-3-236,226,240 166,189,219 28,144,153\n"
00338 "PuBuGn-4-246,239,247 189,201,225 103,169,207 2,129,138\n"
00339 "PuBuGn-5-246,239,247 189,201,225 103,169,207 28,144,153 1,108,89\n"
00340 "PuBuGn-6-246,239,247 208,209,230 166,189,219 103,169,207 28,144,153 1,108,89\n"
00341 "PuBuGn-7-246,239,247 208,209,230 166,189,219 103,169,207 54,144,192 2,129,138 1,100,80\n"
00342 "PuBuGn-8-255,247,251 236,226,240 208,209,230 166,189,219 103,169,207 54,144,192 2,129,138 1,100,80\n"
00343 "PuBuGn-9-255,247,251 236,226,240 208,209,230 166,189,219 103,169,207 54,144,192 2,129,138 1,108,89 1,70,54";
00344
00345 #endif // QGSCOLORBREWERPALETTE_H