bpp-core3
3.0.0
MolscriptColorSet.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: The Bio++ Development Group
2
//
3
// SPDX-License-Identifier: CECILL-2.1
4
5
#include "
MolscriptColorSet.h
"
6
7
using namespace
bpp
;
8
9
MolscriptColorSet::MolscriptColorSet
()
10
{
11
colors_
[
"aliceblue"
] =
RGBColor
(240, 248, 255);
12
colors_
[
"antiquewhite"
] =
RGBColor
(250, 235, 215);
13
colors_
[
"aquamarine"
] =
RGBColor
(127, 255, 212);
14
colors_
[
"azure"
] =
RGBColor
(240, 255, 255);
15
colors_
[
"beige"
] =
RGBColor
(245, 245, 220);
16
colors_
[
"bisque"
] =
RGBColor
(255, 228, 196);
17
colors_
[
"black"
] =
RGBColor
(0, 0, 0);
18
colors_
[
"blanchedalmond"
] =
RGBColor
(255, 235, 205);
19
colors_
[
"blue"
] =
RGBColor
(0, 0, 255);
20
colors_
[
"blueviolet"
] =
RGBColor
(138, 43, 226);
21
colors_
[
"brown"
] =
RGBColor
(165, 42, 42);
22
colors_
[
"burlywood"
] =
RGBColor
(222, 184, 135);
23
colors_
[
"cadetblue"
] =
RGBColor
(95, 158, 160);
24
colors_
[
"chartreuse"
] =
RGBColor
(127, 255, 0);
25
colors_
[
"chocolate"
] =
RGBColor
(210, 105, 30);
26
colors_
[
"coral"
] =
RGBColor
(255, 127, 80);
27
colors_
[
"cornflowerblue"
] =
RGBColor
(100, 149, 237);
28
colors_
[
"cornsilk"
] =
RGBColor
(255, 248, 220);
29
colors_
[
"crimson"
] =
RGBColor
(220, 20, 60);
30
colors_
[
"cyan"
] =
RGBColor
(0, 255, 255);
31
colors_
[
"darkblue"
] =
RGBColor
(0, 0, 139);
32
colors_
[
"darkcyan"
] =
RGBColor
(0, 139, 139);
33
colors_
[
"darkgoldenrod"
] =
RGBColor
(184, 134, 11);
34
colors_
[
"darkgray"
] =
RGBColor
(169, 169, 169);
35
colors_
[
"darkgreen"
] =
RGBColor
(0, 100, 0);
36
colors_
[
"darkgrey"
] =
RGBColor
(169, 169, 169);
37
colors_
[
"darkkhaki"
] =
RGBColor
(189, 183, 107);
38
colors_
[
"darkmagenta"
] =
RGBColor
(139, 0, 139);
39
colors_
[
"darkolivegreen"
] =
RGBColor
(85, 107, 47);
40
colors_
[
"darkorange"
] =
RGBColor
(255, 140, 0);
41
colors_
[
"darkorchid"
] =
RGBColor
(153, 50, 204);
42
colors_
[
"darkred"
] =
RGBColor
(139, 0, 0);
43
colors_
[
"darksalmon"
] =
RGBColor
(233, 150, 122);
44
colors_
[
"darkseagreen"
] =
RGBColor
(143, 188, 143);
45
colors_
[
"darkslateblue"
] =
RGBColor
(72, 61, 139);
46
colors_
[
"darkslategray"
] =
RGBColor
(47, 79, 79);
47
colors_
[
"darkslategrey"
] =
RGBColor
(47, 79, 79);
48
colors_
[
"darkturquoise"
] =
RGBColor
(0, 206, 209);
49
colors_
[
"darkviolet"
] =
RGBColor
(148, 0, 211);
50
colors_
[
"deeppink"
] =
RGBColor
(255, 20, 147);
51
colors_
[
"deepskyblue"
] =
RGBColor
(0, 191, 255);
52
colors_
[
"dimgray"
] =
RGBColor
(105, 105, 105);
53
colors_
[
"dimgrey"
] =
RGBColor
(105, 105, 105);
54
colors_
[
"dodgerblue"
] =
RGBColor
(30, 144, 255);
55
colors_
[
"firebrick"
] =
RGBColor
(178, 34, 34);
56
colors_
[
"floralwhite"
] =
RGBColor
(255, 250, 240);
57
colors_
[
"forestgreen"
] =
RGBColor
(34, 139, 34);
58
colors_
[
"gainsboro"
] =
RGBColor
(220, 220, 220);
59
colors_
[
"ghostwhite"
] =
RGBColor
(248, 248, 255);
60
colors_
[
"gold"
] =
RGBColor
(255, 215, 0);
61
colors_
[
"goldenrod"
] =
RGBColor
(218, 165, 32);
62
colors_
[
"gray"
] =
RGBColor
(190, 190, 190);
63
colors_
[
"green"
] =
RGBColor
(0, 255, 0);
64
colors_
[
"greenyellow"
] =
RGBColor
(173, 255, 47);
65
colors_
[
"grey"
] =
RGBColor
(190, 190, 190);
66
colors_
[
"honeydew"
] =
RGBColor
(240, 255, 240);
67
colors_
[
"hotpink"
] =
RGBColor
(255, 105, 180);
68
colors_
[
"indianred"
] =
RGBColor
(205, 92, 92);
69
colors_
[
"indigo"
] =
RGBColor
(75, 0, 130);
70
colors_
[
"ivory"
] =
RGBColor
(255, 255, 240);
71
colors_
[
"khaki"
] =
RGBColor
(240, 230, 140);
72
colors_
[
"lavender"
] =
RGBColor
(230, 230, 250);
73
colors_
[
"lavenderblush"
] =
RGBColor
(255, 240, 245);
74
colors_
[
"lawngreen"
] =
RGBColor
(124, 252, 0);
75
colors_
[
"lemonchiffon"
] =
RGBColor
(255, 250, 205);
76
colors_
[
"lightblue"
] =
RGBColor
(173, 216, 230);
77
colors_
[
"lightcoral"
] =
RGBColor
(240, 128, 128);
78
colors_
[
"lightcyan"
] =
RGBColor
(224, 255, 255);
79
colors_
[
"lightgoldenrod"
] =
RGBColor
(238, 221, 130);
80
colors_
[
"lightgoldenrodyellow"
] =
RGBColor
(250, 250, 210);
81
colors_
[
"lightgray"
] =
RGBColor
(211, 211, 211);
82
colors_
[
"lightgreen"
] =
RGBColor
(144, 238, 144);
83
colors_
[
"lightgrey"
] =
RGBColor
(211, 211, 211);
84
colors_
[
"lightpink"
] =
RGBColor
(255, 182, 193);
85
colors_
[
"lightsalmon"
] =
RGBColor
(255, 160, 122);
86
colors_
[
"lightseagreen"
] =
RGBColor
(32, 178, 170);
87
colors_
[
"lightskyblue"
] =
RGBColor
(135, 206, 250);
88
colors_
[
"lightslateblue"
] =
RGBColor
(132, 112, 255);
89
colors_
[
"lightslategray"
] =
RGBColor
(119, 136, 153);
90
colors_
[
"lightslategrey"
] =
RGBColor
(119, 136, 153);
91
colors_
[
"lightsteelblue"
] =
RGBColor
(176, 196, 222);
92
colors_
[
"lightyellow"
] =
RGBColor
(255, 255, 224);
93
colors_
[
"limegreen"
] =
RGBColor
(50, 205, 50);
94
colors_
[
"linen"
] =
RGBColor
(250, 240, 230);
95
colors_
[
"magenta"
] =
RGBColor
(255, 0, 255);
96
colors_
[
"maroon"
] =
RGBColor
(176, 48, 96);
97
colors_
[
"mediumaquamarine"
] =
RGBColor
(102, 205, 170);
98
colors_
[
"mediumblue"
] =
RGBColor
(0, 0, 205);
99
colors_
[
"mediumorchid"
] =
RGBColor
(186, 85, 211);
100
colors_
[
"mediumpurple"
] =
RGBColor
(147, 112, 219);
101
colors_
[
"mediumseagreen"
] =
RGBColor
(60, 179, 113);
102
colors_
[
"mediumslateblue"
] =
RGBColor
(123, 104, 238);
103
colors_
[
"mediumspringgreen"
] =
RGBColor
(0, 250, 154);
104
colors_
[
"mediumturquoise"
] =
RGBColor
(72, 209, 204);
105
colors_
[
"mediumvioletred"
] =
RGBColor
(199, 21, 133);
106
colors_
[
"midnightblue"
] =
RGBColor
(25, 25, 112);
107
colors_
[
"mintcream"
] =
RGBColor
(245, 255, 250);
108
colors_
[
"mistyrose"
] =
RGBColor
(255, 228, 225);
109
colors_
[
"moccasin"
] =
RGBColor
(255, 228, 181);
110
colors_
[
"navajowhite"
] =
RGBColor
(255, 222, 173);
111
colors_
[
"navy"
] =
RGBColor
(0, 0, 128);
112
colors_
[
"navyblue"
] =
RGBColor
(0, 0, 128);
113
colors_
[
"oldlace"
] =
RGBColor
(253, 245, 230);
114
colors_
[
"olivedrab"
] =
RGBColor
(107, 142, 35);
115
colors_
[
"orange"
] =
RGBColor
(255, 165, 0);
116
colors_
[
"orangered"
] =
RGBColor
(255, 69, 0);
117
colors_
[
"orchid"
] =
RGBColor
(218, 112, 214);
118
colors_
[
"palegoldenrod"
] =
RGBColor
(238, 232, 170);
119
colors_
[
"palegreen"
] =
RGBColor
(152, 251, 152);
120
colors_
[
"paleturquoise"
] =
RGBColor
(175, 238, 238);
121
colors_
[
"palevioletred"
] =
RGBColor
(219, 112, 147);
122
colors_
[
"papayawhip"
] =
RGBColor
(255, 239, 213);
123
colors_
[
"peachpuff"
] =
RGBColor
(255, 218, 185);
124
colors_
[
"peru"
] =
RGBColor
(205, 133, 63);
125
colors_
[
"pink"
] =
RGBColor
(255, 192, 203);
126
colors_
[
"plum"
] =
RGBColor
(221, 160, 221);
127
colors_
[
"powderblue"
] =
RGBColor
(176, 224, 230);
128
colors_
[
"purple"
] =
RGBColor
(160, 32, 240);
129
colors_
[
"red"
] =
RGBColor
(255, 0, 0);
130
colors_
[
"rosybrown"
] =
RGBColor
(188, 143, 143);
131
colors_
[
"royalblue"
] =
RGBColor
(65, 105, 225);
132
colors_
[
"saddlebrown"
] =
RGBColor
(139, 69, 19);
133
colors_
[
"salmon"
] =
RGBColor
(250, 128, 114);
134
colors_
[
"sandybrown"
] =
RGBColor
(244, 164, 96);
135
colors_
[
"seagreen"
] =
RGBColor
(46, 139, 87);
136
colors_
[
"seashell"
] =
RGBColor
(255, 245, 238);
137
colors_
[
"sgibeet"
] =
RGBColor
(142, 56, 142);
138
colors_
[
"sgibrightgray"
] =
RGBColor
(197, 193, 170);
139
colors_
[
"sgibrightgrey"
] =
RGBColor
(197, 193, 170);
140
colors_
[
"sgichartreuse"
] =
RGBColor
(113, 198, 113);
141
colors_
[
"sgidarkgray"
] =
RGBColor
(85, 85, 85);
142
colors_
[
"sgidarkgrey"
] =
RGBColor
(85, 85, 85);
143
colors_
[
"sgilightblue"
] =
RGBColor
(125, 158, 192);
144
colors_
[
"sgilightgray"
] =
RGBColor
(170, 170, 170);
145
colors_
[
"sgilightgrey"
] =
RGBColor
(170, 170, 170);
146
colors_
[
"sgimediumgray"
] =
RGBColor
(132, 132, 132);
147
colors_
[
"sgimediumgrey"
] =
RGBColor
(132, 132, 132);
148
colors_
[
"sgiolivedrab"
] =
RGBColor
(142, 142, 56);
149
colors_
[
"sgisalmon"
] =
RGBColor
(198, 113, 113);
150
colors_
[
"sgislateblue"
] =
RGBColor
(113, 113, 198);
151
colors_
[
"sgiteal"
] =
RGBColor
(56, 142, 142);
152
colors_
[
"sgiverydarkgray"
] =
RGBColor
(40, 40, 40);
153
colors_
[
"sgiverydarkgrey"
] =
RGBColor
(40, 40, 40);
154
colors_
[
"sgiverylightgray"
] =
RGBColor
(214, 214, 214);
155
colors_
[
"sgiverylightgrey"
] =
RGBColor
(214, 214, 214);
156
colors_
[
"sienna"
] =
RGBColor
(160, 82, 45);
157
colors_
[
"skyblue"
] =
RGBColor
(135, 206, 235);
158
colors_
[
"slateblue"
] =
RGBColor
(106, 90, 205);
159
colors_
[
"slategray"
] =
RGBColor
(112, 128, 144);
160
colors_
[
"slategrey"
] =
RGBColor
(112, 128, 144);
161
colors_
[
"snow"
] =
RGBColor
(255, 250, 250);
162
colors_
[
"springgreen"
] =
RGBColor
(0, 255, 127);
163
colors_
[
"steelblue"
] =
RGBColor
(70, 130, 180);
164
colors_
[
"tan"
] =
RGBColor
(210, 180, 140);
165
colors_
[
"thistle"
] =
RGBColor
(216, 191, 216);
166
colors_
[
"tomato"
] =
RGBColor
(255, 99, 71);
167
colors_
[
"turquoise"
] =
RGBColor
(64, 224, 208);
168
colors_
[
"violet"
] =
RGBColor
(238, 130, 238);
169
colors_
[
"violetred"
] =
RGBColor
(208, 32, 144);
170
colors_
[
"wheat"
] =
RGBColor
(245, 222, 179);
171
colors_
[
"white"
] =
RGBColor
(255, 255, 255);
172
colors_
[
"whitesmoke"
] =
RGBColor
(245, 245, 245);
173
colors_
[
"yellow"
] =
RGBColor
(255, 255, 0);
174
colors_
[
"yellowgreen"
] =
RGBColor
(154, 205, 50);
175
}
bpp::AbstractColorSet::colors_
std::map< std::string, RGBColor > colors_
Definition:
ColorSet.h:66
bpp
Definition:
ApplicationTools.h:22
bpp::RGBColor
Describe a color according to its red, green and blue componants.
Definition:
RgbColor.h:21
MolscriptColorSet.h
bpp::MolscriptColorSet::MolscriptColorSet
MolscriptColorSet()
Definition:
MolscriptColorSet.cpp:9
Bpp
Graphics
Molscript
MolscriptColorSet.cpp
Generated on Wed Jul 3 2024 10:53:56 for bpp-core3 by
1.8.13