OpenCurves  0.9
defaultcolours.h
1 //
2 // author Kazys Stepanas
3 //
4 // Copyright (c) CSIRO 2015
5 //
6 #ifndef DEFAULTCOLOURS_H_
7 #define DEFAULTCOLOURS_H_
8 
9 #include "ocurvesconfig.h"
10 
11 #include <QRgb>
12 
13 namespace ocurves
14 {
17  {
18  // Blacks.
19  Gainsboro,
20  LightGrey,
21  Silver,
22  DarkGrey,
23  Grey,
24  DimGrey,
25  LightSlateGrey,
26  SlateGrey,
27  DarkSlateGrey,
28  Black,
29 
30  // Whites
31  White,
32  Snow,
33  Honeydew,
34  MintCream,
35  Azure,
36  AliceBlue,
37  GhostWhite,
38  WhiteSmoke,
39  Seashell,
40  Beige,
41  OldLace,
42  FloralWhite,
43  Ivory,
44  AntiqueWhite,
45  Linen,
46  LavenderBlush,
47  MistyRose,
48 
49  // Pinks
50  Pink,
51  LightPink,
52  HotPink,
53  DeepPink,
54  PaleVioletRed,
55  MediumVioletRed,
56 
57  // Reds
58  LightSalmon,
59  Salmon,
60  DarkSalmon,
61  LightCoral,
62  IndianRed,
63  Crimson,
64  FireBrick,
65  DarkRed,
66  Red,
67 
68  // Oranges
69  OrangeRed,
70  Tomato,
71  Coral,
72  DarkOrange,
73  Orange,
74 
75  // Yellows
76  Yellow,
77  LightYellow,
78  LemonChiffon,
79  LightGoldenrodYellow,
80  PapayaWhip,
81  Moccasin,
82  PeachPuff,
83  PaleGoldenrod,
84  Khaki,
85  DarkKhaki,
86  Gold,
87 
88  // Browns
89  Cornsilk,
90  BlanchedAlmond,
91  Bisque,
92  NavajoWhite,
93  Wheat,
94  BurlyWood,
95  Tan,
96  RosyBrown,
97  SandyBrown,
98  Goldenrod,
99  DarkGoldenrod,
100  Peru,
101  Chocolate,
102  SaddleBrown,
103  Sienna,
104  Brown,
105  Maroon,
106 
107  // Greens
108  DarkOliveGreen,
109  Olive,
110  OliveDrab,
111  YellowGreen,
112  LimeGreen,
113  Lime,
114  LawnGreen,
115  Chartreuse,
116  GreenYellow,
117  SpringGreen,
118  MediumSpringGreen,
119  LightGreen,
120  PaleGreen,
121  DarkSeaGreen,
122  MediumSeaGreen,
123  SeaGreen,
124  ForestGreen,
125  Green,
126  DarkGreen,
127 
128  // Cyans
129  MediumAquamarine,
130  Aqua,
131  Cyan,
132  LightCyan,
133  PaleTurquoise,
134  Aquamarine,
135  Turquoise,
136  MediumTurquoise,
137  DarkTurquoise,
138  LightSeaGreen,
139  CadetBlue,
140  DarkCyan,
141  Teal,
142 
143  // Blues
144  LightSteelBlue,
145  PowderBlue,
146  LightBlue,
147  SkyBlue,
148  LightSkyBlue,
149  DeepSkyBlue,
150  DodgerBlue,
151  CornflowerBlue,
152  SteelBlue,
153  RoyalBlue,
154  Blue,
155  MediumBlue,
156  DarkBlue,
157  Navy,
158  MidnightBlue,
159 
160  // Purples
161  Lavender,
162  Thistle,
163  Plum,
164  Violet,
165  Orchid,
166  Fuchsia,
167  Magenta,
168  MediumOrchid,
169  MediumPurple,
170  BlueViolet,
171  DarkViolet,
172  DarkOrchid,
173  DarkMagenta,
174  Purple,
175  Indigo,
176  DarkSlateBlue,
177  SlateBlue,
178  MediumSlateBlue,
179 
180  ColourCount
181  };
182 
188  extern QRgb WebSafeColours[ColourCount];
189 
199  {
208  GreyScaleColours,
209  ColourSetCount
210  };
211 
214  extern const char *DefaultColourSetNames[ColourSetCount];
215 
224  extern const ColourName *DefaultColourSets[ColourSetCount];
225 
227  extern const unsigned DefaultColourSetCounts[ColourSetCount];
228 }
229 
230 #endif // DEFAULTCOLOURS_H_
ColourName
An enumeration of the web safe colour set. The colour set is fully defined in WebSafeColours.
Definition: defaultcolours.h:16
Colours addressing deuteranomaly colour blindness.
Definition: defaultcolours.h:203
Colours addressing tritanomaly colour blindness.
Definition: defaultcolours.h:207
DefaultColourSet
An enumeration of the various default colour sets used for plotting.
Definition: defaultcolours.h:198
const char * DefaultColourSetNames[ColourSetCount]
Colour set names for the default colour sets.
QRgb WebSafeColours[ColourCount]
A set of predefined colours implementing the web safe colour set.
Colours addressing protanomaly colour blindness.
Definition: defaultcolours.h:205
Standard colours, cycling through various hues in the web safe colours.
Definition: defaultcolours.h:201
const unsigned DefaultColourSetCounts[ColourSetCount]
The number of elements in each DefaultColourSets set.
const ColourName * DefaultColourSets[ColourSetCount]
Defines various colour combinations to use as the default plotting colours.
A namespace containing various utility functions and definitions.
Definition: defaultcolours.h:13