4.67 kBTypeScriptView Raw
1// Type definitions for color-name 1.1
2// Project: https://github.com/colorjs/color-name
3// Definitions by: Junyoung Clare Jang <https://github.com/Ailrun>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
7 * Tuple of Red, Green, and Blue
8 * @example
9 * // Red = 55, Green = 70, Blue = 0
10 * const rgb: RGB = [55, 70, 0];
11 */
12export type RGB = [number, number, number];
14export const aliceblue: RGB;
15export const antiquewhite: RGB;
16export const aqua: RGB;
17export const aquamarine: RGB;
18export const azure: RGB;
19export const beige: RGB;
20export const bisque: RGB;
21export const black: RGB;
22export const blanchedalmond: RGB;
23export const blue: RGB;
24export const blueviolet: RGB;
25export const brown: RGB;
26export const burlywood: RGB;
27export const cadetblue: RGB;
28export const chartreuse: RGB;
29export const chocolate: RGB;
30export const coral: RGB;
31export const cornflowerblue: RGB;
32export const cornsilk: RGB;
33export const crimson: RGB;
34export const cyan: RGB;
35export const darkblue: RGB;
36export const darkcyan: RGB;
37export const darkgoldenrod: RGB;
38export const darkgray: RGB;
39export const darkgreen: RGB;
40export const darkgrey: RGB;
41export const darkkhaki: RGB;
42export const darkmagenta: RGB;
43export const darkolivegreen: RGB;
44export const darkorange: RGB;
45export const darkorchid: RGB;
46export const darkred: RGB;
47export const darksalmon: RGB;
48export const darkseagreen: RGB;
49export const darkslateblue: RGB;
50export const darkslategray: RGB;
51export const darkslategrey: RGB;
52export const darkturquoise: RGB;
53export const darkviolet: RGB;
54export const deeppink: RGB;
55export const deepskyblue: RGB;
56export const dimgray: RGB;
57export const dimgrey: RGB;
58export const dodgerblue: RGB;
59export const firebrick: RGB;
60export const floralwhite: RGB;
61export const forestgreen: RGB;
62export const fuchsia: RGB;
63export const gainsboro: RGB;
64export const ghostwhite: RGB;
65export const gold: RGB;
66export const goldenrod: RGB;
67export const gray: RGB;
68export const green: RGB;
69export const greenyellow: RGB;
70export const grey: RGB;
71export const honeydew: RGB;
72export const hotpink: RGB;
73export const indianred: RGB;
74export const indigo: RGB;
75export const ivory: RGB;
76export const khaki: RGB;
77export const lavender: RGB;
78export const lavenderblush: RGB;
79export const lawngreen: RGB;
80export const lemonchiffon: RGB;
81export const lightblue: RGB;
82export const lightcoral: RGB;
83export const lightcyan: RGB;
84export const lightgoldenrodyellow: RGB;
85export const lightgray: RGB;
86export const lightgreen: RGB;
87export const lightgrey: RGB;
88export const lightpink: RGB;
89export const lightsalmon: RGB;
90export const lightseagreen: RGB;
91export const lightskyblue: RGB;
92export const lightslategray: RGB;
93export const lightslategrey: RGB;
94export const lightsteelblue: RGB;
95export const lightyellow: RGB;
96export const lime: RGB;
97export const limegreen: RGB;
98export const linen: RGB;
99export const magenta: RGB;
100export const maroon: RGB;
101export const mediumaquamarine: RGB;
102export const mediumblue: RGB;
103export const mediumorchid: RGB;
104export const mediumpurple: RGB;
105export const mediumseagreen: RGB;
106export const mediumslateblue: RGB;
107export const mediumspringgreen: RGB;
108export const mediumturquoise: RGB;
109export const mediumvioletred: RGB;
110export const midnightblue: RGB;
111export const mintcream: RGB;
112export const mistyrose: RGB;
113export const moccasin: RGB;
114export const navajowhite: RGB;
115export const navy: RGB;
116export const oldlace: RGB;
117export const olive: RGB;
118export const olivedrab: RGB;
119export const orange: RGB;
120export const orangered: RGB;
121export const orchid: RGB;
122export const palegoldenrod: RGB;
123export const palegreen: RGB;
124export const paleturquoise: RGB;
125export const palevioletred: RGB;
126export const papayawhip: RGB;
127export const peachpuff: RGB;
128export const peru: RGB;
129export const pink: RGB;
130export const plum: RGB;
131export const powderblue: RGB;
132export const purple: RGB;
133export const rebeccapurple: RGB;
134export const red: RGB;
135export const rosybrown: RGB;
136export const royalblue: RGB;
137export const saddlebrown: RGB;
138export const salmon: RGB;
139export const sandybrown: RGB;
140export const seagreen: RGB;
141export const seashell: RGB;
142export const sienna: RGB;
143export const silver: RGB;
144export const skyblue: RGB;
145export const slateblue: RGB;
146export const slategray: RGB;
147export const slategrey: RGB;
148export const snow: RGB;
149export const springgreen: RGB;
150export const steelblue: RGB;
151export const tan: RGB;
152export const teal: RGB;
153export const thistle: RGB;
154export const tomato: RGB;
155export const turquoise: RGB;
156export const violet: RGB;
157export const wheat: RGB;
158export const white: RGB;
159export const whitesmoke: RGB;
160export const yellow: RGB;
161export const yellowgreen: RGB;