bmp_encoder/
consts.rs

1use Pixel;
2
3pub const ALICE_BLUE:             Pixel = Pixel {r: 240, g: 248, b: 255 };
4pub const ANTIQUE_WHITE:          Pixel = Pixel {r: 250, g: 235, b: 215 };
5pub const AQUA:                   Pixel = Pixel {r: 0,   g: 255, b: 255 };
6pub const AQUAMARINE:             Pixel = Pixel {r: 127, g: 255, b: 212 };
7pub const AZURE:                  Pixel = Pixel {r: 240, g: 255, b: 255 };
8pub const BEIGE:                  Pixel = Pixel {r: 245, g: 245, b: 220 };
9pub const BISQUE:                 Pixel = Pixel {r: 255, g: 228, b: 196 };
10pub const BLACK:                  Pixel = Pixel {r: 0,   g: 0,   b: 0   };
11pub const BLANCHED_ALMOND:        Pixel = Pixel {r: 255, g: 235, b: 205 };
12pub const BLUE:                   Pixel = Pixel {r: 0,   g: 0,   b: 255 };
13pub const BLUE_VIOLET:            Pixel = Pixel {r: 138, g: 43,  b: 226 };
14pub const BROWN:                  Pixel = Pixel {r: 165, g: 42,  b: 42  };
15pub const BURLYWOOD:              Pixel = Pixel {r: 222, g: 184, b: 135 };
16pub const CADET_BLUE:             Pixel = Pixel {r: 95,  g: 158, b: 160 };
17pub const CHARTREUSE:             Pixel = Pixel {r: 127, g: 255, b: 0   };
18pub const CHOCOLATE:              Pixel = Pixel {r: 210, g: 105, b: 30  };
19pub const CORAL:                  Pixel = Pixel {r: 255, g: 127, b: 80  };
20pub const CORNFLOWER_BLUE:        Pixel = Pixel {r: 100, g: 149, b: 237 };
21pub const CORNSILK:               Pixel = Pixel {r: 255, g: 248, b: 220 };
22pub const CRIMSON:                Pixel = Pixel {r: 220, g: 20,  b: 60  };
23pub const CYAN:                   Pixel = Pixel {r: 0,   g: 255, b: 255 };
24pub const DARK_BLUE:              Pixel = Pixel {r: 0,   g: 0,   b: 139 };
25pub const DARK_CYAN:              Pixel = Pixel {r: 0,   g: 139, b: 139 };
26pub const DARK_GOLDENROD:         Pixel = Pixel {r: 184, g: 134, b: 11  };
27pub const DARK_GRAY:              Pixel = Pixel {r: 169, g: 169, b: 169 };
28pub const DARK_GREEN:             Pixel = Pixel {r: 0,   g: 100, b: 0   };
29pub const DARK_GREY:              Pixel = Pixel {r: 169, g: 169, b: 169 };
30pub const DARK_KHAKI:             Pixel = Pixel {r: 189, g: 183, b: 107 };
31pub const DARK_MAGENTA:           Pixel = Pixel {r: 139, g: 0,   b: 139 };
32pub const DARK_OLIVE_GREEN:       Pixel = Pixel {r: 85,  g: 107, b: 47  };
33pub const DARK_ORANGE:            Pixel = Pixel {r: 255, g: 140, b: 0   };
34pub const DARK_ORCHID:            Pixel = Pixel {r: 153, g: 50,  b: 204 };
35pub const DARK_RED:               Pixel = Pixel {r: 139, g: 0,   b: 0   };
36pub const DARK_SALMON:            Pixel = Pixel {r: 233, g: 150, b: 122 };
37pub const DARK_SEAGREEN:          Pixel = Pixel {r: 143, g: 188, b: 143 };
38pub const DARK_SLATE_BLUE:        Pixel = Pixel {r: 72,  g: 61,  b: 139 };
39pub const DARK_SLATE_GRAY:        Pixel = Pixel {r: 47,  g: 79,  b: 79  };
40pub const DARK_SLATE_GREY:        Pixel = Pixel {r: 47,  g: 79,  b: 79  };
41pub const DARK_TURQUOISE:         Pixel = Pixel {r: 0,   g: 206, b: 209 };
42pub const DARK_VIOLET:            Pixel = Pixel {r: 148, g: 0,   b: 211 };
43pub const DEEP_PINK:              Pixel = Pixel {r: 255, g: 20,  b: 147 };
44pub const DEEP_SKYBLUE:           Pixel = Pixel {r: 0,   g: 191, b: 255 };
45pub const DIM_GRAY:               Pixel = Pixel {r: 105, g: 105, b: 105 };
46pub const DIM_GREY:               Pixel = Pixel {r: 105, g: 105, b: 105 };
47pub const DODGER_BLUE:            Pixel = Pixel {r: 30,  g: 144, b: 255 };
48pub const FIREBRICK:              Pixel = Pixel {r: 178, g: 34,  b: 34  };
49pub const FLORAL_WHITE:           Pixel = Pixel {r: 255, g: 250, b: 240 };
50pub const FOREST_GREEN:           Pixel = Pixel {r: 34,  g: 139, b: 34  };
51pub const FUCHSIA:                Pixel = Pixel {r: 255, g: 0,   b: 255 };
52pub const GAINSBORO:              Pixel = Pixel {r: 220, g: 220, b: 220 };
53pub const GHOST_WHITE:            Pixel = Pixel {r: 248, g: 248, b: 255 };
54pub const GOLD:                   Pixel = Pixel {r: 255, g: 215, b: 0   };
55pub const GOLDENROD:              Pixel = Pixel {r: 218, g: 165, b: 32  };
56pub const GRAY:                   Pixel = Pixel {r: 128, g: 128, b: 128 };
57pub const GREY:                   Pixel = Pixel {r: 128, g: 128, b: 128 };
58pub const GREEN:                  Pixel = Pixel {r: 0,   g: 128, b: 0   };
59pub const GREEN_YELLOW:           Pixel = Pixel {r: 173, g: 255, b: 47  };
60pub const HONEYDEW:               Pixel = Pixel {r: 240, g: 255, b: 240 };
61pub const HOT_PINK:               Pixel = Pixel {r: 255, g: 105, b: 180 };
62pub const INDIAN_RED:             Pixel = Pixel {r: 205, g: 92,  b: 92  };
63pub const INDIGO:                 Pixel = Pixel {r: 75,  g: 0,   b: 130 };
64pub const IVORY:                  Pixel = Pixel {r: 255, g: 255, b: 240 };
65pub const KHAKI:                  Pixel = Pixel {r: 240, g: 230, b: 140 };
66pub const LAVENDER:               Pixel = Pixel {r: 230, g: 230, b: 250 };
67pub const LAVENDERBLUSH:          Pixel = Pixel {r: 255, g: 240, b: 245 };
68pub const LAWN_GREEN:             Pixel = Pixel {r: 124, g: 252, b: 0   };
69pub const LEMON_CHIFFON:          Pixel = Pixel {r: 255, g: 250, b: 205 };
70pub const LIGHT_BLUE:             Pixel = Pixel {r: 173, g: 216, b: 230 };
71pub const LIGHT_CORAL:            Pixel = Pixel {r: 240, g: 128, b: 128 };
72pub const LIGHT_CYAN:             Pixel = Pixel {r: 224, g: 255, b: 255 };
73pub const LIGHT_GOLDENROD_YELLOW: Pixel = Pixel {r: 250, g: 250, b: 210 };
74pub const LIGHT_GRAY:             Pixel = Pixel {r: 211, g: 211, b: 211 };
75pub const LIGHT_GREEN:            Pixel = Pixel {r: 144, g: 238, b: 144 };
76pub const LIGHT_GREY:             Pixel = Pixel {r: 211, g: 211, b: 211 };
77pub const LIGHT_PINK:             Pixel = Pixel {r: 255, g: 182, b: 193 };
78pub const LIGHT_SALMON:           Pixel = Pixel {r: 255, g: 160, b: 122 };
79pub const LIGHT_SEAGREEN:         Pixel = Pixel {r: 32,  g: 178, b: 170 };
80pub const LIGHT_SKYBLUE:          Pixel = Pixel {r: 135, g: 206, b: 250 };
81pub const LIGHT_SLATE_GRAY:       Pixel = Pixel {r: 119, g: 136, b: 153 };
82pub const LIGHT_SLATE_GREY:       Pixel = Pixel {r: 119, g: 136, b: 153 };
83pub const LIGHT_STEEL_BLUE:       Pixel = Pixel {r: 176, g: 196, b: 222 };
84pub const LIGHT_YELLOW:           Pixel = Pixel {r: 255, g: 255, b: 224 };
85pub const LIME:                   Pixel = Pixel {r: 0,   g: 255, b: 0   };
86pub const LIME_GREEN:             Pixel = Pixel {r: 50,  g: 205, b: 50  };
87pub const LINEN:                  Pixel = Pixel {r: 250, g: 240, b: 230 };
88pub const MAGENTA:                Pixel = Pixel {r: 255, g: 0,   b: 255 };
89pub const MAROON:                 Pixel = Pixel {r: 128, g: 0,   b: 0   };
90pub const MEDIUM_AQUAMARINE:      Pixel = Pixel {r: 102, g: 205, b: 170 };
91pub const MEDIUM_BLUE:            Pixel = Pixel {r: 0,   g: 0,   b: 205 };
92pub const MEDIUM_ORCHID:          Pixel = Pixel {r: 186, g: 85,  b: 211 };
93pub const MEDIUM_PURPLE:          Pixel = Pixel {r: 147, g: 112, b: 219 };
94pub const MEDIUM_SEAGREEN:        Pixel = Pixel {r: 60,  g: 179, b: 113 };
95pub const MEDIUM_SLATE_BLUE:      Pixel = Pixel {r: 123, g: 104, b: 238 };
96pub const MEDIUM_SPRING_GREEN:    Pixel = Pixel {r: 0,   g: 250, b: 154 };
97pub const MEDIUM_TURQUOISE:       Pixel = Pixel {r: 72,  g: 209, b: 204 };
98pub const MEDIUM_VIOLETRED:       Pixel = Pixel {r: 199, g: 21,  b: 133 };
99pub const MIDNIGHT_BLUE:          Pixel = Pixel {r: 25,  g: 25,  b: 112 };
100pub const MINT_CREAM:             Pixel = Pixel {r: 245, g: 255, b: 250 };
101pub const MISTY_ROSE:             Pixel = Pixel {r: 255, g: 228, b: 225 };
102pub const MOCCASIN:               Pixel = Pixel {r: 255, g: 228, b: 181 };
103pub const NAVAJO_WHITE:           Pixel = Pixel {r: 255, g: 222, b: 173 };
104pub const NAVY:                   Pixel = Pixel {r: 0,   g: 0,   b: 128 };
105pub const OLD_LACE:               Pixel = Pixel {r: 253, g: 245, b: 230 };
106pub const OLIVE:                  Pixel = Pixel {r: 128, g: 128, b: 0   };
107pub const OLIVE_DRAB:             Pixel = Pixel {r: 107, g: 142, b: 35  };
108pub const ORANGE:                 Pixel = Pixel {r: 255, g: 165, b: 0   };
109pub const ORANGE_RED:             Pixel = Pixel {r: 255, g: 69,  b: 0   };
110pub const ORCHID:                 Pixel = Pixel {r: 218, g: 112, b: 214 };
111pub const PALE_GOLDENROD:         Pixel = Pixel {r: 238, g: 232, b: 170 };
112pub const PALE_GREEN:             Pixel = Pixel {r: 152, g: 251, b: 152 };
113pub const PALE_TURQUOISE:         Pixel = Pixel {r: 175, g: 238, b: 238 };
114pub const PALE_VIOLETRED:         Pixel = Pixel {r: 219, g: 112, b: 147 };
115pub const PAPAYAWHIP:             Pixel = Pixel {r: 255, g: 239, b: 213 };
116pub const PEACHPUFF:              Pixel = Pixel {r: 255, g: 218, b: 185 };
117pub const PERU:                   Pixel = Pixel {r: 205, g: 133, b: 63  };
118pub const PINK:                   Pixel = Pixel {r: 255, g: 192, b: 203 };
119pub const PLUM:                   Pixel = Pixel {r: 221, g: 160, b: 221 };
120pub const POWDER_BLUE:            Pixel = Pixel {r: 176, g: 224, b: 230 };
121pub const PURPLE:                 Pixel = Pixel {r: 128, g: 0,   b: 128 };
122pub const RED:                    Pixel = Pixel {r: 255, g: 0,   b: 0   };
123pub const ROSY_BROWN:             Pixel = Pixel {r: 188, g: 143, b: 143 };
124pub const ROYAL_BLUE:             Pixel = Pixel {r: 65,  g: 105, b: 225 };
125pub const SADDLE_BROWN:           Pixel = Pixel {r: 139, g: 69,  b: 19  };
126pub const SALMON:                 Pixel = Pixel {r: 250, g: 128, b: 114 };
127pub const SANDY_BROWN:            Pixel = Pixel {r: 244, g: 164, b: 96  };
128pub const SEAGREEN:               Pixel = Pixel {r: 46,  g: 139, b: 87  };
129pub const SEASHELL:               Pixel = Pixel {r: 255, g: 245, b: 238 };
130pub const SIENNA:                 Pixel = Pixel {r: 160, g: 82,  b: 45  };
131pub const SILVER:                 Pixel = Pixel {r: 192, g: 192, b: 192 };
132pub const SKYBLUE:                Pixel = Pixel {r: 135, g: 206, b: 235 };
133pub const SLATE_BLUE:             Pixel = Pixel {r: 106, g: 90,  b: 205 };
134pub const SLATE_GRAY:             Pixel = Pixel {r: 112, g: 128, b: 144 };
135pub const SLATE_GREY:             Pixel = Pixel {r: 112, g: 128, b: 144 };
136pub const SNOW:                   Pixel = Pixel {r: 255, g: 250, b: 250 };
137pub const SPRING_GREEN:           Pixel = Pixel {r: 0,   g: 255, b: 127 };
138pub const STEEL_BLUE:             Pixel = Pixel {r: 70,  g: 130, b: 180 };
139pub const TAN:                    Pixel = Pixel {r: 210, g: 180, b: 140 };
140pub const TEAL:                   Pixel = Pixel {r: 0,   g: 128, b: 128 };
141pub const THISTLE:                Pixel = Pixel {r: 216, g: 191, b: 216 };
142pub const TOMATO:                 Pixel = Pixel {r: 255, g: 99,  b: 71  };
143pub const TURQUOISE:              Pixel = Pixel {r: 64,  g: 224, b: 208 };
144pub const VIOLET:                 Pixel = Pixel {r: 238, g: 130, b: 238 };
145pub const WHEAT:                  Pixel = Pixel {r: 245, g: 222, b: 179 };
146pub const WHITE:                  Pixel = Pixel {r: 255, g: 255, b: 255 };
147pub const WHITE_SMOKE:            Pixel = Pixel {r: 245, g: 245, b: 245 };
148pub const YELLOW:                 Pixel = Pixel {r: 255, g: 255, b: 0   };
149pub const YELLOW_GREEN:           Pixel = Pixel {r: 154, g: 205, b: 50  };