bpp-core3  3.0.0
DvipsColorSet.cpp
Go to the documentation of this file.
1 //
2 // File: DvipsColorSet.cpp
3 // Authors:
4 // Julien Dutheil
5 // Created: 2008-04-14 00:00:00
6 //
7 
8 /*
9  Copyright or © or Copr. CNRS, (November 17, 2008)
10 
11  This software is a computer program whose purpose is to provide utilitary
12  classes. This file belongs to the Bio++ Project.
13 
14  This software is governed by the CeCILL license under French law and
15  abiding by the rules of distribution of free software. You can use,
16  modify and/ or redistribute the software under the terms of the CeCILL
17  license as circulated by CEA, CNRS and INRIA at the following URL
18  "http://www.cecill.info".
19 
20  As a counterpart to the access to the source code and rights to copy,
21  modify and redistribute granted by the license, users are provided only
22  with a limited warranty and the software's author, the holder of the
23  economic rights, and the successive licensors have only limited
24  liability.
25 
26  In this respect, the user's attention is drawn to the risks associated
27  with loading, using, modifying and/or developing or reproducing the
28  software by the user in light of its specific status of free software,
29  that may mean that it is complicated to manipulate, and that also
30  therefore means that it is reserved for developers and experienced
31  professionals having in-depth computer knowledge. Users are therefore
32  encouraged to load and test the software's suitability as regards their
33  requirements in conditions enabling the security of their systems and/or
34  data to be ensured and, more generally, to use and operate it in the
35  same conditions as regards security.
36 
37  The fact that you are presently reading this means that you have had
38  knowledge of the CeCILL license and that you accept its terms.
39 */
40 
41 
42 #include "DvipsColorSet.h"
43 
44 using namespace bpp;
45 
47 {
48  colors_["GreenYellow"] = RGBColor(217, 255, 79);
49  colors_["Yellow"] = RGBColor(255, 255, 0);
50  colors_["Goldenrod"] = RGBColor(255, 230, 41);
51  colors_["Dandelion"] = RGBColor(255, 181, 41);
52  colors_["Apricot"] = RGBColor(255, 173, 122);
53  colors_["Peach"] = RGBColor(255, 128, 77);
54  colors_["Melon"] = RGBColor(255, 138, 128);
55  colors_["YellowOrange"] = RGBColor(255, 148, 0);
56  colors_["Orange"] = RGBColor(255, 99, 33);
57  colors_["BurntOrange"] = RGBColor(255, 125, 0);
58  colors_["Bittersweet"] = RGBColor(194, 48, 0);
59  colors_["RedOrange"] = RGBColor(255, 59, 33);
60  colors_["Mahogany"] = RGBColor(166, 25, 22);
61  colors_["Maroon"] = RGBColor(173, 23, 55);
62  colors_["BrickRed"] = RGBColor(184, 20, 11);
63  colors_["Red"] = RGBColor(255, 0, 0);
64  colors_["OrangeRed"] = RGBColor(255, 0, 128);
65  colors_["RubineRed"] = RGBColor(255, 0, 222);
66  colors_["WildStrawberry"] = RGBColor(255, 10, 156);
67  colors_["Salmon"] = RGBColor(255, 120, 158);
68  colors_["CarnationPink"] = RGBColor(255, 94, 255);
69  colors_["Magenta"] = RGBColor(255, 0, 255);
70  colors_["VioletRed"] = RGBColor(255, 48, 255);
71  colors_["Rhodamine"] = RGBColor(255, 46, 255);
72  colors_["Mulberry"] = RGBColor(165, 25, 250);
73  colors_["RedViolet"] = RGBColor(157, 17, 168);
74  colors_["Fuchsia"] = RGBColor(124, 21, 235);
75  colors_["Lavender"] = RGBColor(255, 133, 255);
76  colors_["Thistle"] = RGBColor(224, 105, 255);
77  colors_["Orchid"] = RGBColor(173, 92, 255);
78  colors_["DarkOrchid"] = RGBColor(153, 51, 204);
79  colors_["Purple"] = RGBColor(140, 36, 255);
80  colors_["Plum"] = RGBColor(128, 0, 255);
81  colors_["Violet"] = RGBColor(54, 31, 255);
82  colors_["RoyalPurple"] = RGBColor(64, 25, 255);
83  colors_["BlueViolet"] = RGBColor(34, 22, 245);
84  colors_["Periwinkle"] = RGBColor(110, 115, 255);
85  colors_["CadetBlue"] = RGBColor(97, 110, 196);
86  colors_["CornflowerBlue"] = RGBColor(89, 222, 255);
87  colors_["MidnightBlue"] = RGBColor(3, 126, 145);
88  colors_["NavyBlue"] = RGBColor(15, 117, 255);
89  colors_["RoyalBlue"] = RGBColor(0, 128, 255);
90  colors_["Blue"] = RGBColor(0, 0, 255);
91  colors_["Cerulean"] = RGBColor(15, 227, 255);
92  colors_["Cyan"] = RGBColor(0, 255, 255);
93  colors_["ProcessBlue"] = RGBColor(10, 255, 255);
94  colors_["SkyBlue"] = RGBColor(97, 255, 224);
95  colors_["Turquoise"] = RGBColor(38, 255, 204);
96  colors_["TealBlue"] = RGBColor(35, 250, 165);
97  colors_["Aquamarine"] = RGBColor(46, 255, 178);
98  colors_["BlueGreen"] = RGBColor(38, 255, 171);
99  colors_["Emerald"] = RGBColor(0, 255, 128);
100  colors_["JungleGreen"] = RGBColor(3, 255, 122);
101  colors_["SeaGreen"] = RGBColor(79, 255, 128);
102  colors_["Green"] = RGBColor(0, 255, 0);
103  colors_["ForestGreen"] = RGBColor(20, 224, 27);
104  colors_["PineGreen"] = RGBColor(15, 191, 78);
105  colors_["LimeGreen"] = RGBColor(128, 255, 0);
106  colors_["YellowGreen"] = RGBColor(143, 255, 66);
107  colors_["SpringGreen"] = RGBColor(189, 255, 61);
108  colors_["OliveGreen"] = RGBColor(55, 153, 8);
109  colors_["RawSienna"] = RGBColor(140, 39, 0);
110  colors_["Sepia"] = RGBColor(77, 13, 0);
111  colors_["Brown"] = RGBColor(102, 19, 0);
112  colors_["Tan"] = RGBColor(219, 148, 112);
113  colors_["Gray"] = RGBColor(128, 128, 128);
114  colors_["Black"] = RGBColor(0, 0, 0);
115  colors_["White"] = RGBColor(255, 255, 255);
116 }
std::map< std::string, RGBColor > colors_
Definition: ColorSet.h:102
Describe a color according to its red, green and blue componants.
Definition: RgbColor.h:60