Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
179 lines (179 sloc) 6.55 KB
COLORS = {"alice_blue" => 0xfff0f8ff,
"antique_white" => 0xfffaebd7,
"aqua" => 0xff00ffff,
"aquamarine" => 0xff7fffd4,
"azure" => 0xfff0ffff,
"beige" => 0xfff5f5dc,
"bisque" => 0xffffe4c4,
"black" => 0xff000000,
"blanched_almond" => 0xffffebcd,
"blue" => 0xff0000ff,
"blue_violet" => 0xff8a2be2,
"brown" => 0xffa52a2a,
"burly_wood" => 0xffdeb887,
"burlywood" => 0xffdeb887,
"cadet_blue" => 0xff5f9ea0,
"carnation" => 0xffff5ed0,
"cayenne" => 0xff8d0000,
"chartreuse" => 0xff7fff00,
"chocolate" => 0xffd2691e,
"coral" => 0xffff7f50,
"cornflower_blue" => 0xff6495ed,
"cornsilk" => 0xfffff8dc,
"crimson" => 0xffdc143c,
"cyan" => 0xff00ffff,
"dark_blue" => 0xff00008b,
"dark_cyan" => 0xff008b8b,
"dark_golden_rod" => 0xffb8860b,
"dark_goldenrod" => 0xffb8860b,
"dark_gray" => 0xffa9a9a9,
"dark_green" => 0xff006400,
"dark_grey" => 0xffa9a9a9,
"dark_khaki" => 0xffbdb76b,
"dark_magenta" => 0xff8b008b,
"dark_olive_green" => 0xff556b2f,
"dark_orange" => 0xffff8c00,
"dark_orchid" => 0xff9932cc,
"dark_red" => 0xff8b0000,
"dark_salmon" => 0xffe9967a,
"dark_sea_green" => 0xff8fbc8f,
"dark_slate_blue" => 0xff483d8b,
"dark_slate_gray" => 0xff2f4f4f,
"dark_slate_grey" => 0xff2f4f4f,
"dark_turquoise" => 0xff00ced1,
"dark_violet" => 0xff9400d3,
"dark_olive_green" => 0xff556b2f,
"dark_orange" => 0xffff8c00,
"dark_salmon" => 0xffe9967a,
"deep_pink" => 0xffff1493,
"deep_sky_blue" => 0xff00bfbf,
"dim_gray" => 0xff696969,
"dim_grey" => 0xff696969,
"dodger_blue" => 0xff1e90ff,
"feldspar" => 0xffd19275,
"fire_brick" => 0xffb22222,
"firebrick" => 0xffb22222,
"floral_white" => 0xfffffaf0,
"forest_green" => 0xff228b22,
"fuchsia" => 0xffff00ff,
"gainsboro" => 0xffdcdcdc,
"ghost_white" => 0xfff8f8ff,
"gold" => 0xffffd700,
"goldenrod" => 0xffdaa520,
"gray" => 0xff808080,
"gray10" => 0xff1a1a1a,
"gray20" => 0xff333333,
"gray30" => 0xff4d4d4d,
"gray40" => 0xff666666,
"gray50" => 0xff808080,
"gray60" => 0xff999999,
"gray70" => 0xffb3b3b3,
"gray80" => 0xffcccccc,
"gray90" => 0xffe6e6e6,
"green" => 0xff008000,
"green_yellow" => 0xffadff2f,
"grey" => 0xff808080,
"grey10" => 0xff1a1a1a,
"grey20" => 0xff333333,
"grey30" => 0xff4d4d4d,
"grey40" => 0xff666666,
"grey50" => 0xff808080,
"grey60" => 0xff999999,
"grey70" => 0xffb3b3b3,
"grey80" => 0xffcccccc,
"grey90" => 0xffe6e6e6,
"honeydew" => 0xfff0fff0,
"hot_pink" => 0xffff69b4,
"indian_red" => 0xffcd5c5c,
"indigo" => 0xff4b0082,
"ivory" => 0xfffffff0,
"khaki" => 0xfff0e68c,
"lavender" => 0xffe6e6fa,
"lavender_blush" => 0xfffff0f5,
"lawn_green" => 0xff7cfc00,
"lemon_chiffon" => 0xfffffacd,
"light_blue" => 0xffadd8e6,
"light_coral" => 0xfff08080,
"light_cyan" => 0xffe0ffff,
"light_goldenrod_yellow" => 0xfffafad2,
"light_gray" => 0xffd3d3d3,
"light_green" => 0xff90ee90,
"light_grey" => 0xffd3d3d3,
"light_pink" => 0xffffb6c1,
"light_salmon" => 0xffffa07a,
"light_sea_green" => 0xff20b2aa,
"light_sky_blue" => 0xff87cefa,
"light_slate_blue" => 0xff8470ff,
"light_slate_gray" => 0xff778899,
"light_slate_grey" => 0xff778899,
"light_steel_blue" => 0xffb0c4de,
"light_yellow" => 0xffffffe0,
"light_salmon" => 0xffffa07a,
"light_steel_blue" => 0xffb0c4de,
"lime" => 0xff00ff00,
"lime_green" => 0xff32cd32,
"linen" => 0xfffaf0e6,
"magenta" => 0xffff00ff,
"maroon" => 0xff800000,
"medium_aqua_marine" => 0xff66cdaa,
"medium_aquamarine" => 0xff66cdaa,
"medium_blue" => 0xff0000cd,
"medium_orchid" => 0xffba55d3,
"medium_purple" => 0xff9370db,
"medium_sea_green" => 0xff3cb371,
"medium_slate_blue" => 0xff7b68ee,
"medium_spring_green" => 0xff00fa9a,
"medium_turquoise" => 0xff48d1cc,
"medium_violet_red" => 0xffc71585,
"midnight_blue" => 0xff191970,
"mint_cream" => 0xfff5fffa,
"misty_rose" => 0xffffe4e1,
"moccasin" => 0xffffe4b5,
"navajo_white" => 0xffffdead,
"navy" => 0xff000080,
"old_lace" => 0xfffdf5e6,
"olive" => 0xff808000,
"olive_drab" => 0xff6b8e23,
"orange" => 0xffffa500,
"orange_red" => 0xffff4500,
"orchid" => 0xffda70d6,
"pale_goldenrod" => 0xffeee8aa,
"pale_green" => 0xff98fb98,
"pale_turquoise" => 0xffafeeee,
"pale_violet_red" => 0xffdb7093,
"papaya_whip" => 0xffffefd5,
"peach_puff" => 0xffffdab9,
"peru" => 0xffcd853f,
"pink" => 0xffffc0cb,
"plum" => 0xffdda0dd,
"powder_blue" => 0xffb0e0e6,
"purple" => 0xff800080,
"red" => 0xffff0000,
"rosy_brown" => 0xffbc8f8f,
"royal_blue" => 0xff4169e1,
"saddle_brown" => 0xff8b4513,
"salmon" => 0xfffa8072,
"sandy_brown" => 0xfff4a460,
"sea_green" => 0xff2e8b57,
"seashell" => 0xfffff5ee,
"sienna" => 0xffa0522d,
"silver" => 0xffc0c0c0,
"sky_blue" => 0xff87ceeb,
"slate_blue" => 0xff6a5acd,
"slate_gray" => 0xff708090,
"slate_grey" => 0xff708090,
"snow" => 0xfffffafa,
"spring_green" => 0xff00ff7f,
"steel_blue" => 0xff4682b4,
"tan" => 0xffd2b48c,
"teal" => 0xff008080,
"thistle" => 0xffd8bfd8,
"tomato" => 0xffff6347,
"turquoise" => 0xff40e0d0,
"violet" => 0xffee82ee,
"violet_red" => 0xffd02090,
"wheat" => 0xfff5deb3,
"white" => 0xffffffff,
"white_smoke" => 0xfff5f5f5,
"yellow" => 0xffffff00,
"yellow_green" => 0xff9acd32}