00001 #ifndef _SIPIXELCONTINUOUSPALETTE_ 00002 #define _SIPIXELCONTINUOUSPALETTE_ 00003 00017 namespace SiPixelContinuousPalette 00018 { 00019 constexpr int r[] = {255 ,134 ,122 ,110 , 98 , 86 , 74 , 63 , 51 , 39 , 00020 27 , 15 , 3 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00021 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00022 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00023 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00024 0 , 0 , 0 , 0 , 0 , 10 , 22 , 34 , 46 , 57 , 00025 69 , 81 , 93 ,105 ,117 ,129 ,141 ,153 ,165 ,176 , 00026 188 ,200 ,212 ,224 ,236 ,248 ,250 ,255 ,255 ,255 , 00027 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00028 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 } ; 00029 00030 constexpr int g[] = { 255 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00031 0 , 0 , 0 , 0 , 20 , 32 , 44 , 56 , 68 , 80 , 00032 91 ,103 ,115 ,127 ,139 ,151 ,163 ,175 ,187 ,199 , 00033 210 ,222 ,234 ,246 ,255 ,255 ,255 ,255 ,255 ,255 , 00034 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00035 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00036 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00037 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,238 ,226 , 00038 214 ,202 ,190 ,178 ,166 ,154 ,142 ,131 ,119 ,107 , 00039 95 , 83 , 71 , 59 , 47 , 35 , 23 , 12 , 0 , 0 } ; 00040 constexpr int b[] = {255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00041 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00042 255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 ,255 , 00043 255 ,255 ,255 ,255 ,253 ,251 ,239 ,227 ,216 ,204 , 00044 192 ,180 ,168 ,156 ,144 ,132 ,120 ,108 , 97 , 85 , 00045 73 , 61 , 49 , 37 , 25 , 13 , 6 , 0 , 0 , 0 , 00046 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00047 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00048 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 00049 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 } ; 00050 } 00051 00052 #endif