1 /* This file is part of the GNU plotutils package.  Copyright (C) 1995,
2    1996, 1997, 1998, 1999, 2000, 2005, 2008, Free Software Foundation, Inc.
3 
4    The GNU plotutils package is free software.  You may redistribute it
5    and/or modify it under the terms of the GNU General Public License as
6    published by the Free Software foundation; either version 2, or (at your
7    option) any later version.
8 
9    The GNU plotutils package is distributed in the hope that it will be
10    useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    General Public License for more details.
13 
14    You should have received a copy of the GNU General Public License along
15    with the GNU plotutils package; see the file COPYING.  If not, write to
16    the Free Software Foundation, Inc., 51 Franklin St., Fifth Floor,
17    Boston, MA 02110-1301, USA. */
18 
19 /* Fig's 32 standard colors, taken from xfig source.
20 
21    The list includes the 8 standard colors (vertices of the RGB cube,
22    listed first).  It also includes three intermediate intensities for each
23    of the 6 standard colors other than black and white (except that yellow
24    is missing, so there are only 5, giving 15 additional shades in all).
25    Also included are 8 random colors (LtBlue, Gold, Brown?, Pink, and
26    Pink?, with ? = 2,3,4) apparently present because someone liked them.
27    LtBlue is the only color in the interior of the cube. */
28 
29 #include "sys-defines.h"
30 #include "extern.h"
31 
32 const plColor _pl_f_fig_stdcolors[FIG_NUM_STD_COLORS] =
33 {
34   {0x00, 0x00, 0x00},		/* Black */
35   {0x00, 0x00, 0xff},		/* Blue */
36   {0x00, 0xff, 0x00},		/* Green */
37   {0x00, 0xff, 0xff},		/* Cyan */
38   {0xff, 0x00, 0x00},		/* Red */
39   {0xff, 0x00, 0xff},		/* Magenta */
40   {0xff, 0xff, 0x00},		/* Yellow */
41   {0xff, 0xff, 0xff},		/* White */
42   {0x00, 0x00, 0x90},		/* Blue4 */
43   {0x00, 0x00, 0xb0},		/* Blue3 */
44   {0x00, 0x00, 0xd0},		/* Blue2 */
45   {0x87, 0xce, 0xff},		/* LtBlue [SkyBlue1 in rgb.txt] */
46   {0x00, 0x90, 0x00},		/* Green4 */
47   {0x00, 0xb0, 0x00},		/* Green3 */
48   {0x00, 0xd0, 0x00},		/* Green2 */
49   {0x00, 0x90, 0x90},		/* Cyan4 */
50   {0x00, 0xb0, 0xb0},		/* Cyan3 */
51   {0x00, 0xd0, 0xd0},		/* Cyan2 */
52   {0x90, 0x00, 0x00},		/* Red4 */
53   {0xb0, 0x00, 0x00},		/* Red3 */
54   {0xd0, 0x00, 0x00},		/* Red2 */
55   {0x90, 0x00, 0x90},		/* Magenta4 */
56   {0xb0, 0x00, 0xb0},		/* Magenta3 */
57   {0xd0, 0x00, 0xd0},		/* Magenta2 */
58   {0x80, 0x30, 0x00},		/* Brown4, ad hoc */
59   {0xa0, 0x40, 0x00},		/* Brown3, ad hoc */
60   {0xc0, 0x60, 0x00},		/* Brown2, ad hoc */
61   {0xff, 0x80, 0x80},		/* Pink4, ad hoc */
62   {0xff, 0xa0, 0xa0},		/* Pink3, ad hoc */
63   {0xff, 0xc0, 0xc0},		/* Pink2, ad hoc */
64   {0xff, 0xe0, 0xe0},		/* Pink, ad hoc */
65   {0xff, 0xd7, 0x00}		/* Gold [as in rgb.txt] */
66 };
67