1 2 /****************************************************************************** 3 * MODULE : xc_colors.h 4 * DESCRIPTION: RGB colors following xcolor naming conventions 5 * COPYRIGHT : (C) 2014 François Poulain, Joris van der Hoeven 6 * NOTE : Inspired from Dr. Uwe Kern <xcolor at ukern dot de> xcolor 7 * LaTeX package 8 * http://www.ctan.org/tex-archive/macros/latex/contrib/xcolor/ 9 ******************************************************************************* 10 * This software falls under the GNU general public license version 3 or later. 11 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE 12 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>. 13 ******************************************************************************/ 14 15 #define RGB(r,g,b) r, g, b 16 17 static rgb_record XCColors[] = { 18 {"black", RGB ( 0, 0, 0)}, 19 {"blue", RGB ( 0, 0, 255)}, 20 {"brown", RGB (191, 127, 63)}, 21 {"cyan", RGB ( 0, 255, 255)}, 22 {"darkgray", RGB ( 63, 63, 63)}, 23 {"gray", RGB (127, 127, 127)}, 24 {"green", RGB ( 0, 255, 0)}, 25 {"lightgray", RGB (191, 191, 191)}, 26 {"lime", RGB (191, 255, 0)}, 27 {"magenta", RGB (255, 0, 255)}, 28 {"olive", RGB (127, 127, 0)}, 29 {"orange", RGB (255, 127, 0)}, 30 {"pink", RGB (255, 191, 191)}, 31 {"purple", RGB (191, 0, 63)}, 32 {"red", RGB (255, 0, 0)}, 33 {"teal", RGB ( 0, 127, 127)}, 34 {"violet", RGB (127, 0, 127)}, 35 {"white", RGB (255, 255, 255)}, 36 {"yellow", RGB (255, 255, 0)}, 37 {"", 0, 0, 0} 38 }; 39