VST3: fetch midi mappings all at once, use it for note/sound-off
[carla.git] / source / modules / juce_graphics / colour / juce_Colours.h
blob434b2b169e843d70761175bdf0439b4c24500793
1 /*
2 ==============================================================================
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
23 ==============================================================================
26 namespace juce
29 //==============================================================================
30 /**
31 Contains a set of predefined named colours (mostly standard HTML colours)
33 @see Colour
35 @tags{Graphics}
37 namespace Colours
40 const Colour transparentBlack { 0 };
41 const Colour transparentWhite { 0x00ffffff };
43 const Colour aliceblue { 0xfff0f8ff };
44 const Colour antiquewhite { 0xfffaebd7 };
45 const Colour aqua { 0xff00ffff };
46 const Colour aquamarine { 0xff7fffd4 };
47 const Colour azure { 0xfff0ffff };
48 const Colour beige { 0xfff5f5dc };
49 const Colour bisque { 0xffffe4c4 };
50 const Colour black { 0xff000000 };
51 const Colour blanchedalmond { 0xffffebcd };
52 const Colour blue { 0xff0000ff };
53 const Colour blueviolet { 0xff8a2be2 };
54 const Colour brown { 0xffa52a2a };
55 const Colour burlywood { 0xffdeb887 };
56 const Colour cadetblue { 0xff5f9ea0 };
57 const Colour chartreuse { 0xff7fff00 };
58 const Colour chocolate { 0xffd2691e };
59 const Colour coral { 0xffff7f50 };
60 const Colour cornflowerblue { 0xff6495ed };
61 const Colour cornsilk { 0xfffff8dc };
62 const Colour crimson { 0xffdc143c };
63 const Colour cyan { 0xff00ffff };
64 const Colour darkblue { 0xff00008b };
65 const Colour darkcyan { 0xff008b8b };
66 const Colour darkgoldenrod { 0xffb8860b };
67 const Colour darkgrey { 0xff555555 };
68 const Colour darkgreen { 0xff006400 };
69 const Colour darkkhaki { 0xffbdb76b };
70 const Colour darkmagenta { 0xff8b008b };
71 const Colour darkolivegreen { 0xff556b2f };
72 const Colour darkorange { 0xffff8c00 };
73 const Colour darkorchid { 0xff9932cc };
74 const Colour darkred { 0xff8b0000 };
75 const Colour darksalmon { 0xffe9967a };
76 const Colour darkseagreen { 0xff8fbc8f };
77 const Colour darkslateblue { 0xff483d8b };
78 const Colour darkslategrey { 0xff2f4f4f };
79 const Colour darkturquoise { 0xff00ced1 };
80 const Colour darkviolet { 0xff9400d3 };
81 const Colour deeppink { 0xffff1493 };
82 const Colour deepskyblue { 0xff00bfff };
83 const Colour dimgrey { 0xff696969 };
84 const Colour dodgerblue { 0xff1e90ff };
85 const Colour firebrick { 0xffb22222 };
86 const Colour floralwhite { 0xfffffaf0 };
87 const Colour forestgreen { 0xff228b22 };
88 const Colour fuchsia { 0xffff00ff };
89 const Colour gainsboro { 0xffdcdcdc };
90 const Colour ghostwhite { 0xfff8f8ff };
91 const Colour gold { 0xffffd700 };
92 const Colour goldenrod { 0xffdaa520 };
93 const Colour grey { 0xff808080 };
94 const Colour green { 0xff008000 };
95 const Colour greenyellow { 0xffadff2f };
96 const Colour honeydew { 0xfff0fff0 };
97 const Colour hotpink { 0xffff69b4 };
98 const Colour indianred { 0xffcd5c5c };
99 const Colour indigo { 0xff4b0082 };
100 const Colour ivory { 0xfffffff0 };
101 const Colour khaki { 0xfff0e68c };
102 const Colour lavender { 0xffe6e6fa };
103 const Colour lavenderblush { 0xfffff0f5 };
104 const Colour lawngreen { 0xff7cfc00 };
105 const Colour lemonchiffon { 0xfffffacd };
106 const Colour lightblue { 0xffadd8e6 };
107 const Colour lightcoral { 0xfff08080 };
108 const Colour lightcyan { 0xffe0ffff };
109 const Colour lightgoldenrodyellow { 0xfffafad2 };
110 const Colour lightgreen { 0xff90ee90 };
111 const Colour lightgrey { 0xffd3d3d3 };
112 const Colour lightpink { 0xffffb6c1 };
113 const Colour lightsalmon { 0xffffa07a };
114 const Colour lightseagreen { 0xff20b2aa };
115 const Colour lightskyblue { 0xff87cefa };
116 const Colour lightslategrey { 0xff778899 };
117 const Colour lightsteelblue { 0xffb0c4de };
118 const Colour lightyellow { 0xffffffe0 };
119 const Colour lime { 0xff00ff00 };
120 const Colour limegreen { 0xff32cd32 };
121 const Colour linen { 0xfffaf0e6 };
122 const Colour magenta { 0xffff00ff };
123 const Colour maroon { 0xff800000 };
124 const Colour mediumaquamarine { 0xff66cdaa };
125 const Colour mediumblue { 0xff0000cd };
126 const Colour mediumorchid { 0xffba55d3 };
127 const Colour mediumpurple { 0xff9370db };
128 const Colour mediumseagreen { 0xff3cb371 };
129 const Colour mediumslateblue { 0xff7b68ee };
130 const Colour mediumspringgreen { 0xff00fa9a };
131 const Colour mediumturquoise { 0xff48d1cc };
132 const Colour mediumvioletred { 0xffc71585 };
133 const Colour midnightblue { 0xff191970 };
134 const Colour mintcream { 0xfff5fffa };
135 const Colour mistyrose { 0xffffe4e1 };
136 const Colour moccasin { 0xffffe4b5 };
137 const Colour navajowhite { 0xffffdead };
138 const Colour navy { 0xff000080 };
139 const Colour oldlace { 0xfffdf5e6 };
140 const Colour olive { 0xff808000 };
141 const Colour olivedrab { 0xff6b8e23 };
142 const Colour orange { 0xffffa500 };
143 const Colour orangered { 0xffff4500 };
144 const Colour orchid { 0xffda70d6 };
145 const Colour palegoldenrod { 0xffeee8aa };
146 const Colour palegreen { 0xff98fb98 };
147 const Colour paleturquoise { 0xffafeeee };
148 const Colour palevioletred { 0xffdb7093 };
149 const Colour papayawhip { 0xffffefd5 };
150 const Colour peachpuff { 0xffffdab9 };
151 const Colour peru { 0xffcd853f };
152 const Colour pink { 0xffffc0cb };
153 const Colour plum { 0xffdda0dd };
154 const Colour powderblue { 0xffb0e0e6 };
155 const Colour purple { 0xff800080 };
156 const Colour rebeccapurple { 0xff663399 };
157 const Colour red { 0xffff0000 };
158 const Colour rosybrown { 0xffbc8f8f };
159 const Colour royalblue { 0xff4169e1 };
160 const Colour saddlebrown { 0xff8b4513 };
161 const Colour salmon { 0xfffa8072 };
162 const Colour sandybrown { 0xfff4a460 };
163 const Colour seagreen { 0xff2e8b57 };
164 const Colour seashell { 0xfffff5ee };
165 const Colour sienna { 0xffa0522d };
166 const Colour silver { 0xffc0c0c0 };
167 const Colour skyblue { 0xff87ceeb };
168 const Colour slateblue { 0xff6a5acd };
169 const Colour slategrey { 0xff708090 };
170 const Colour snow { 0xfffffafa };
171 const Colour springgreen { 0xff00ff7f };
172 const Colour steelblue { 0xff4682b4 };
173 const Colour tan { 0xffd2b48c };
174 const Colour teal { 0xff008080 };
175 const Colour thistle { 0xffd8bfd8 };
176 const Colour tomato { 0xffff6347 };
177 const Colour turquoise { 0xff40e0d0 };
178 const Colour violet { 0xffee82ee };
179 const Colour wheat { 0xfff5deb3 };
180 const Colour white { 0xffffffff };
181 const Colour whitesmoke { 0xfff5f5f5 };
182 const Colour yellow { 0xffffff00 };
183 const Colour yellowgreen { 0xff9acd32 };
185 /** Attempts to look up a string in the list of known colour names, and return
186 the appropriate colour.
188 A non-case-sensitive search is made of the list of predefined colours, and
189 if a match is found, that colour is returned. If no match is found, the
190 colour passed in as the defaultColour parameter is returned.
192 JUCE_API Colour findColourForName (const String& colourName,
193 Colour defaultColour);
194 } // namespace Colours
196 } // namespace juce