/*************************************************************************** palette.h - contains the possible palette of colors for HP PPA printers ------------------- begin : Thu Jan 13 2000 copyright : (C) 1999-2000 by the pnm2ppa project email : ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ /* * this array conteins rgb coordinates for each color printable * different component values are obtained shooting 0 to 4 ink drops * over the same pixel. * * Giorgio Marzano * */ /* unsigned char */ int hp_pal[5][5][5][3] = { { {{25, 20, 20}, {69, 48, 49}, {83, 50, 49}, {107, 50, 47}, {246, 57, 50}}, {{60, 56, 54}, {67, 54, 50}, {82, 57, 50}, {109, 59, 50}, {254, 67, 53}}, {{59, 65, 56}, {65, 65, 53}, {80, 67, 52}, {109, 72, 52}, {254, 83, 56}}, {{57, 78, 58}, {64, 81, 55}, {77, 87, 55}, {109, 96, 56}, {255, 116, 60}}, {{56, 120, 62}, {62, 132, 60}, {76, 153, 61}, {106, 187, 63}, {255, 255, 71}} }, { {{58, 47, 57}, {65, 44, 52}, {78, 45, 51}, {103, 47, 51}, {248, 53, 53}}, {{56, 53, 58}, {63, 51, 54}, {75, 51, 52}, {103, 55, 53}, {249, 62, 55}}, {{54, 61, 61}, {60, 60, 56}, {74, 62, 55}, {105, 68, 57}, {243, 80, 60}}, {{53, 62, 72}, {60, 77, 61}, {72, 81, 59}, {104, 91, 61}, {254, 114, 70}}, {{54, 117, 71}, {60, 129, 68}, {72, 148, 69}, {105, 185, 73}, {255, 255, 85}} }, { {{56, 45, 63}, {61, 43, 58}, {74, 43, 56}, {99, 44, 56}, {240, 51, 58}}, {{53, 48, 64}, {60, 48, 61}, {73, 48, 59}, {101, 51, 60}, {245, 60, 63}}, {{52, 57, 68}, {57, 57, 65}, {72, 59, 64}, {102, 64, 65}, {251, 78, 71}}, {{51, 70, 73}, {57, 73, 71}, {70, 79, 71}, {103, 90, 74}, {254, 114, 82}}, {{51, 113, 84}, {59, 128, 85,}, {71, 146, 85}, {108, 186, 93}, {255, 255, 108}} }, { {{54, 41, 69}, {59, 40, 67}, {70, 41, 66}, {99, 43, 66}, {239, 52, 71}}, {{52, 47, 77}, {59, 46, 75}, {72, 48, 74}, {100, 50, 75}, {243, 61, 79}}, {{51, 55, 85}, {56, 54, 83}, {69, 56, 81}, {102, 63, 84}, {249, 77, 90}}, {{50, 70, 96}, {57, 74, 97}, {68, 78, 96}, {102, 89, 99}, {254, 118, 111}}, {{51, 115, 117}, {59, 129, 119}, {73, 151, 124}, {108, 191, 133}, {255, 255, 154}} }, { {{53, 40, 98}, {59, 40, 97}, {70, 40, 96}, {100, 45, 100}, {241, 55, 106}}, {{52, 45, 111}, {59, 45, 110}, {71, 47, 111}, {100, 53, 116}, {248, 66, 124}}, {{51, 52, 129}, {57, 54, 131}, {70, 56, 131}, {102, 66, 139}, {253, 89, 152}}, {{51, 68, 161}, {58, 72, 167}, {71, 79, 171}, {106, 93, 182}, {254, 131, 200}}, {{56, 122, 242}, {65, 138, 252}, {84, 163, 254}, {122, 204, 255}, {255, 255, 255}} } };