Created
December 31, 2019 19:04
-
-
Save kiwwisk/e64784ef7aaccdd3a49cd3c57be483e2 to your computer and use it in GitHub Desktop.
Get closest color name - Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
colors = {"Absolute Zero": (0, 72, 186), "Acid green": (176, 191, 26), "Aero": (124, 185, 232), "Aero blue": (201, 255, 229), "African violet": (178, 132, 190), "Air superiority blue": (114, 160, 193), "Alabaster": (242, 240, 230), "Alice blue": (240, 248, 255), "Alloy orange": (196, 98, 16), "Almond": (239, 222, 205), "Amaranth": (229, 43, 80), "Amaranth deep purple": (159, 43, 104), "Amaranth pink": (241, 156, 187), "Amaranth purple": (171, 39, 79), "Amaranth red": (211, 33, 45), "Amazon": (59, 122, 87), "Amber": (255, 191, 0), "Amber (SAE/ECE)": (255, 126, 0), "Amethyst": (153, 102, 204), "Android green": (164, 198, 57), "Antique brass": (205, 149, 117), "Antique bronze": (102, 93, 30), "Antique fuchsia": (145, 92, 131), "Antique ruby": (132, 27, 45), "Antique white": (250, 235, 215), "Ao (English)": (0, 128, 0), "Apple green": (141, 182, 0), "Apricot": (251, 206, 177), "Aqua": (0, 255, 255), "Aquamarine": (127, 255, 212), "Arctic lime": (208, 255, 20), "Argentinian blue": (108, 180, 238), "Army green": (75, 83, 32), "Artichoke": (143, 151, 121), "Arylide yellow": (233, 214, 107), "Ash grey": (178, 190, 181), "Asparagus": (135, 169, 107), "Atomic tangerine": (255, 153, 102), "Auburn": (165, 42, 42), "Aureolin": (253, 238, 0), "Avocado": (86, 130, 3), "Azure": (0, 127, 255), "Azure (X11/web color)": (240, 255, 255), "B'dazzled blue": (46, 88, 149), "Baby blue": (137, 207, 240), "Baby blue eyes": (161, 202, 241), "Baby pink": (244, 194, 194), "Baby powder": (254, 254, 250), "Baker-Miller pink": (255, 145, 175), "Banana Mania": (250, 231, 181), "Banana yellow": (255, 225, 53), "Barbie pink": (224, 33, 138), "Barn red": (124, 10, 2), "Battleship grey": (132, 132, 130), "Beau blue": (188, 212, 230), "Beaver": (159, 129, 112), "Beige": (245, 245, 220), "Big dip o’ruby": (156, 37, 66), "Big Foot Feet": (232, 142, 90), "Bisque": (255, 228, 196), "Bistre": (61, 43, 31), "Bistre brown": (150, 113, 23), "Bitter lemon": (202, 224, 13), "Bittersweet": (254, 111, 94), "Bittersweet shimmer": (191, 79, 81), "Black": (0, 0, 0), "Black bean": (61, 12, 2), "Black coral": (84, 98, 111), "Black leather jacket": (37, 53, 41), "Black olive": (59, 60, 54), "Black Shadows": (191, 175, 178), "Blanched almond": (255, 235, 205), "Blast-off bronze": (165, 113, 100), "Bleu de France": (49, 140, 231), "Blizzard blue": (172, 229, 238), "Blood red": (102, 0, 0), "Blue": (0, 0, 255), "Blue (Crayola)": (31, 117, 254), "Blue (Munsell)": (0, 147, 175), "Blue (NCS)": (0, 135, 189), "Blue (Pantone)": (0, 24, 168), "Blue (pigment)": (51, 51, 153), "Blue bell": (162, 162, 208), "Blue-gray": (102, 153, 204), "Blue-green": (13, 152, 186), "Blue jeans": (93, 173, 236), "Blue sapphire": (18, 97, 128), "Blue-violet": (138, 43, 226), "Blue yonder": (80, 114, 167), "Blueberry": (79, 134, 247), "Blush": (222, 93, 131), "Bole": (121, 68, 59), "Bone": (227, 218, 201), "Booger Buster": (221, 226, 106), "Bottle green": (0, 106, 78), "Brick red": (203, 65, 84), "Bright green": (102, 255, 0), "Bright lilac": (216, 145, 239), "Bright maroon": (195, 33, 72), "Bright navy blue": (25, 116, 210), "Bright pink": (255, 0, 127), "Bright turquoise": (8, 232, 222), "Bright yellow (Crayola)": (255, 170, 29), "Brilliant rose": (246, 83, 166), "Brink pink": (251, 96, 127), "British racing green": (0, 66, 37), "Bronze": (205, 127, 50), "Brown": (150, 75, 0), "Brown (web)": (165, 42, 42), "Brown sugar": (175, 110, 77), "Brunswick green": (27, 77, 62), "Bud green": (123, 182, 97), "Buff": (240, 220, 130), "Burgundy": (128, 0, 32), "Burlywood": (222, 184, 135), "Burnished brown": (161, 122, 116), "Burnt orange": (204, 85, 0), "Burnt sienna": (233, 116, 81), "Burnt umber": (138, 51, 36), "Byzantine": (189, 51, 164), "Byzantium": (112, 41, 99), "Cadet": (83, 104, 114), "Cadet blue": (95, 158, 160), "Cadet grey": (145, 163, 176), "Cadmium green": (0, 107, 60), "Cadmium orange": (237, 135, 45), "Cadmium red": (227, 0, 34), "Cadmium yellow": (255, 246, 0), "Café au lait": (166, 123, 91), "Café noir": (75, 54, 33), "Cambridge blue": (163, 193, 173), "Camel": (193, 154, 107), "Cameo pink": (239, 187, 204), "Canary yellow": (255, 255, 153), "Candy apple red": (255, 8, 0), "Candy pink": (228, 113, 122), "Caput mortuum": (89, 39, 32), "Cardinal": (196, 30, 58), "Caribbean green": (0, 204, 153), "Carmine": (150, 0, 24), "Carnation pink": (255, 166, 201), "Carnelian": (179, 27, 27), "Carolina blue": (86, 160, 211), "Carrot orange": (237, 145, 33), "Castleton green": (0, 86, 63), "Catawba": (112, 54, 66), "Cedar Chest": (202, 52, 53), "Celadon": (172, 225, 175), "Celadon green": (47, 132, 124), "Celeste": (178, 255, 255), "Cerise": (222, 49, 99), "Cerulean": (0, 123, 167), "Cerulean blue": (42, 82, 190), "Cerulean frost": (109, 155, 195), "Cerulean (Crayola)": (29, 172, 214), "Champagne": (247, 231, 206), "Champagne pink": (241, 221, 207), "Charcoal": (54, 69, 79), "Charleston green": (35, 43, 43), "Charm pink": (230, 143, 172), "Chartreuse (traditional)": (223, 255, 0), "Chartreuse (web)": (127, 255, 0), "Cherry blossom pink": (255, 183, 197), "Chestnut": (149, 69, 53), "China pink": (222, 111, 161), "China rose": (168, 81, 110), "Chinese red": (170, 56, 30), "Chinese violet": (133, 96, 136), "Chocolate (traditional)": (123, 63, 0), "Chocolate (web)": (210, 105, 30), "Cinereous": (152, 129, 123), "Cinnamon Satin": (205, 96, 126), "Citrine": (228, 208, 10), "Citron": (158, 169, 31), "Claret": (127, 23, 52), "Cobalt blue": (0, 71, 171), "Cocoa brown": (210, 105, 30), "Coconut": (150, 90, 62), "Coffee": (111, 78, 55), "Columbia Blue": (196, 216, 226), "Congo pink": (248, 131, 121), "Cool grey": (140, 146, 172), "Copper": (184, 115, 51), "Copper penny": (173, 111, 105), "Copper red": (203, 109, 81), "Copper rose": (153, 102, 102), "Coquelicot": (255, 56, 0), "Coral": (255, 127, 80), "Coral pink": (248, 131, 121), "Coral red": (255, 64, 64), "Cordovan": (137, 63, 69), "Cornell red": (179, 27, 27), "Cornflower blue (web)": (100, 149, 237), "Cornflower blue (Crayola)": (1, 159, 222), "Cornsilk": (255, 248, 220), "Cosmic cobalt": (46, 45, 136), "Cosmic latte": (255, 248, 231), "Coyote brown": (129, 97, 60), "Cotton candy": (255, 188, 217), "Cream": (255, 253, 208), "Crimson": (220, 20, 60), "Crimson (UA)": (175, 0, 42), "Cultured": (245, 245, 245), "Cyan": (0, 255, 255), "Cyber grape": (88, 66, 124), "Cyber yellow": (255, 211, 0), "Cyclamen": (245, 111, 161), "Dark blue": (0, 0, 139), "Dark blue-gray": (102, 102, 153), "Dark brown": (101, 67, 33), "Dark byzantium": (93, 57, 84), "Dark cyan": (0, 139, 139), "Dark electric blue": (83, 104, 120), "Dark goldenrod": (184, 134, 11), "Dark gray (X11)": (169, 169, 169), "Dark green": (1, 50, 32), "Dark green (X11)": (0, 100, 0), "Dark jungle green": (26, 36, 33), "Dark khaki": (189, 183, 107), "Dark lava": (72, 60, 50), "Dark liver": (83, 75, 79), "Dark magenta": (139, 0, 139), "Dark midnight blue": (0, 51, 102), "Dark moss green": (74, 93, 35), "Dark olive green": (85, 107, 47), "Dark orange": (255, 140, 0), "Dark orchid": (153, 50, 204), "Dark pastel green": (3, 192, 60), "Dark purple": (48, 25, 52), "Dark raspberry": (135, 38, 87), "Dark red": (139, 0, 0), "Dark salmon": (233, 150, 122), "Dark sea green": (143, 188, 143), "Dark sienna": (60, 20, 20), "Dark sky blue": (140, 190, 214), "Dark slate blue": (72, 61, 139), "Dark slate gray": (47, 79, 79), "Dark spring green": (23, 114, 69), "Dark tan": (145, 129, 81), "Dark turquoise": (0, 206, 209), "Dark vanilla": (209, 190, 168), "Dark violet": (148, 0, 211), "Dartmouth green": (0, 112, 60), "Davy's grey": (85, 85, 85), "Deep cerise": (218, 50, 135), "Deep champagne": (250, 214, 165), "Deep chestnut": (185, 78, 72), "Deep fuchsia": (193, 84, 193), "Deep jungle green": (0, 75, 73), "Deep lemon": (245, 199, 26), "Deep mauve": (212, 115, 212), "Deep pink": (255, 20, 147), "Deep sky blue": (0, 191, 255), "Deep Space Sparkle": (74, 100, 108), "Deep Taupe": (126, 94, 96), "Denim": (21, 96, 189), "Denim Blue": (34, 67, 182), "Desert": (193, 154, 107), "Desert sand": (237, 201, 175), "Dim gray": (105, 105, 105), "Dingy Dungeon": (197, 49, 81), "Dirt": (155, 118, 83), "Dodger blue": (30, 144, 255), "Dogwood rose": (215, 24, 104), "Duke blue": (0, 0, 156), "Dutch white": (239, 223, 187), "Earth yellow": (225, 169, 95), "Ebony": (85, 93, 80), "Ecru": (194, 178, 128), "Eerie black": (27, 27, 27), "Eggplant": (97, 64, 81), "Eggshell": (240, 234, 214), "Egyptian blue": (16, 52, 166), "Electric blue": (125, 249, 255), "Electric indigo": (111, 0, 255), "Electric lime": (204, 255, 0), "Electric purple": (191, 0, 255), "Electric violet": (143, 0, 255), "Emerald": (80, 200, 120), "Eminence": (108, 48, 130), "English lavender": (180, 131, 149), "English red": (171, 75, 82), "English vermillion": (204, 71, 75), "English violet": (86, 60, 92), "Eton blue": (150, 200, 162), "Eucalyptus": (68, 215, 168), "Facebook Blue": (57, 86, 156), "Fallow": (193, 154, 107), "Falu red": (128, 24, 24), "Fandango pink": (222, 82, 133), "Fashion fuchsia": (244, 0, 161), "Fawn": (229, 170, 112), "Feldgrau": (77, 93, 83), "Feldspar": (253, 213, 177), "Fern green": (79, 121, 66), "Ferrari red": (255, 40, 0), "Field drab": (108, 84, 30), "Fiery rose": (255, 84, 112), "Firebrick": (178, 34, 34), "Fire engine red": (206, 32, 41), "Fire opal": (233, 92, 75), "Flame": (226, 88, 34), "Flamingo pink": (252, 142, 172), "Flattery": (107, 68, 35), "Flavescent": (247, 233, 142), "Flax": (238, 220, 130), "Floral white": (255, 250, 240), "Flower girl": (244, 152, 173), "Fluorescent blue": (21, 244, 238), "Fluorescent orange": (255, 191, 0), "Fluorescent pink": (255, 20, 147), "Fluorescent yellow": (204, 255, 0), "Folly": (255, 0, 79), "Forest green (Crayola)": (95, 167, 119), "Forest green (traditional)": (1, 68, 33), "Forest green (web)": (34, 139, 34), "French beige": (166, 123, 91), "French bistre": (133, 109, 77), "French blue": (0, 114, 187), "French fuchsia": (253, 63, 146), "French lilac": (134, 96, 142), "French lime": (158, 253, 56), "French mauve": (212, 115, 212), "French Middle Red Purple": (28, 2, 24), "French pink": (253, 108, 158), "French plum": (129, 20, 83), "French puce": (78, 22, 9), "French raspberry": (199, 44, 72), "French rose": (246, 74, 138), "French sky blue": (119, 181, 254), "French violet": (136, 6, 206), "French wine": (172, 30, 68), "Fresh Air": (166, 231, 255), "Frostbite": (233, 54, 167), "Fuchsia": (255, 0, 255), "Fuchsia (Crayola)": (193, 84, 193), "Fuchsia pink": (255, 119, 255), "Fuchsia purple": (204, 57, 123), "Fuchsia rose": (199, 67, 117), "Fulvous": (228, 132, 0), "Fuzzy Wuzzy": (135, 66, 31), "Gainsboro": (220, 220, 220), "Gamboge": (228, 155, 15), "Gamboge orange (brown)": (152, 102, 0), "Gargoyle Gas": (255, 223, 70), "Generic viridian": (0, 127, 102), "Ghost white": (248, 248, 255), "Giant's Club": (176, 92, 82), "Giants orange": (254, 90, 29), "Gin": (216, 228, 188), "Glaucous": (96, 130, 182), "Glossy grape": (171, 146, 179), "GO green": (0, 171, 102), "Gold": (165, 124, 0), "Gold (metallic)": (212, 175, 55), "Gold (web) (Golden)": (255, 215, 0), "Gold (Crayola)": (230, 190, 138), "Gold Fusion": (133, 117, 78), "Gold foil": (189, 155, 22), "Golden brown": (153, 101, 21), "Golden poppy": (252, 194, 0), "Golden yellow": (255, 223, 0), "Goldenrod": (218, 165, 32), "Google Chrome red": (222, 82, 70), "Google Chrome blue": (76, 139, 245), "Google Chrome green": (26, 162, 96), "Google Chrome yellow": (255, 206, 68), "Granite gray": (103, 103, 103), "Granny Smith apple": (168, 228, 160), "Grape": (111, 45, 168), "Gray (HTML/CSS gray)": (128, 128, 128), "Gray (X11 gray)": (190, 190, 190), "Gray-asparagus": (70, 89, 69), "Gray-blue": (140, 146, 172), "Green": (0, 128, 1), "Green (Color Wheel) (X11 green)": (0, 255, 0), "Green (Crayola)": (28, 172, 120), "Green (HTML/CSS color)": (0, 128, 0), "Green (Munsell)": (0, 168, 119), "Green (NCS)": (0, 159, 107), "Green (Pantone)": (0, 173, 67), "Green (pigment)": (0, 165, 80), "Green (RYB)": (102, 176, 50), "Green-blue": (17, 100, 180), "Green-blue (Crayola)": (40, 135, 200), "Green Cola": (76, 114, 29), "Green-cyan": (0, 153, 102), "Green Lizard": (167, 244, 50), "Green Sheen": (110, 174, 161), "Green slime": (101, 255, 0), "Green-yellow": (173, 255, 47), "Green-yellow (Crayola)": (240, 232, 145), "Grullo": (169, 154, 134), "Guppie green": (0, 255, 127), "Gunmetal": (42, 52, 57), "Guyabano": (248, 248, 248), "Halayà úbe": (102, 55, 84), "Halloween orange": (235, 97, 35), "Han blue": (68, 108, 207), "Han purple": (82, 24, 250), "Hansa yellow": (233, 214, 107), "Harlequin": (63, 255, 0), "Harlequin green": (70, 203, 24), "Harmonious rose": (242, 156, 183), "Harvard crimson": (201, 0, 22), "Harvest gold": (218, 145, 0), "Heart gold": (128, 128, 0), "Heat Wave": (255, 122, 0), "Heidelberg red": (150, 0, 24), "Heliotrope": (223, 115, 255), "Heliotrope gray": (170, 152, 168), "Heliotrope magenta": (170, 0, 187), "Hollywood cerise": (244, 0, 161), "Honeydew": (240, 255, 240), "Honolulu blue": (0, 109, 176), "Hooker's green": (73, 121, 107), "Hot magenta": (255, 29, 206), "Hot pink": (255, 105, 180), "Hunter green": (53, 94, 59), "Iceberg": (113, 166, 210), "Iced tea": (146, 60, 1), "Icterine": (252, 247, 94), "Iguana green": (113, 188, 120), "Illuminating emerald": (49, 145, 119), "Imperial": (96, 47, 107), "Imperial blue": (0, 35, 149), "Imperial purple": (102, 2, 60), "Imperial red": (237, 41, 57), "Inchworm": (178, 236, 93), "Independence": (76, 81, 109), "India green": (19, 136, 8), "Indian red": (205, 92, 92), "Indian yellow": (227, 168, 87), "Indigo": (75, 0, 130), "Indigo dye": (9, 31, 146), "Indigo (Crayola)": (79, 105, 198), "Indigo (Rainbow)": (35, 48, 103), "Indigo (web)": (75, 0, 130), "Infra red": (255, 73, 108), "Interdimensional blue": (54, 12, 204), "International Klein Blue": (0, 47, 167), "International orange (aerospace)": (255, 79, 0), "International orange (engineering)": (186, 22, 12), "International orange (Golden Gate Bridge)": (192, 54, 44), "Iris": (90, 79, 207), "Iron": (161, 157, 148), "Irresistible": (179, 68, 108), "Isabelline": (244, 240, 236), "Italian sky blue": (178, 255, 255), "Ivory": (255, 255, 240), "Jacko bean": (65, 54, 40), "Jade": (0, 168, 107), "Japanese carmine": (157, 41, 51), "Japanese indigo": (38, 67, 72), "Japanese violet": (91, 50, 86), "Jasmine": (248, 222, 126), "Jasper": (215, 59, 62), "Jazzberry jam": (165, 11, 94), "Jelly bean": (218, 97, 78), "Jet": (52, 52, 52), "Jonquil": (244, 202, 22), "Jordy blue": (138, 185, 241), "June bud": (189, 218, 87), "Jungle green": (41, 171, 135), "Kelly green": (76, 187, 23), "Kenyan copper": (124, 28, 5), "Keppel": (58, 176, 158), "Key lime": (232, 244, 140), "Khaki (HTML/CSS) (Khaki)": (195, 176, 145), "Khaki (X11) (Light khaki)": (240, 230, 140), "Kiwi": (142, 229, 63), "Kobe": (136, 45, 23), "Kobi": (231, 159, 196), "Kobicha": (107, 68, 35), "Kombu green": (53, 66, 48), "KSU Purple": (79, 38, 131), "KU Crimson": (232, 0, 13), "La Salle green": (8, 120, 48), "Languid lavender": (214, 202, 221), "Lanzones": (224, 188, 91), "Lapis lazuli": (38, 97, 156), "Laser Lemon": (255, 255, 102), "Laurel green": (169, 186, 157), "Lava": (207, 16, 32), "Lavender (floral)": (181, 126, 220), "Lavender (web)": (230, 230, 250), "Lavender blue": (204, 204, 255), "Lavender gray": (196, 195, 208), "Lavender indigo": (148, 87, 235), "Lavender magenta": (238, 130, 238), "Lavender mist": (230, 230, 250), "Lavender purple": (150, 123, 182), "Lavender rose": (251, 160, 227), "Lemon": (255, 247, 0), "Lemon chiffon": (255, 250, 205), "Lemon curry": (204, 160, 29), "Lemon glacier": (253, 255, 0), "Lemon iced tea": (189, 48, 0), "Lemon lime": (227, 255, 0), "Lemon lime": (92, 255, 103), "Lemon meringue": (246, 234, 190), "Lemon yellow": (255, 244, 79), "Lemon yellow (Crayola)": (255, 255, 159), "Licorice": (26, 17, 16), "Light brown": (181, 101, 29), "Light carmine pink": (230, 103, 113), "Light chocolate cosmos": (85, 31, 47), "Light cobalt blue": (136, 172, 224), "Light cornflower blue": (147, 204, 234), "Light crimson": (245, 105, 145), "Light cyan": (224, 255, 255), "Light French beige": (200, 173, 127), "Light fuchsia pink": (249, 132, 239), "Light gold": (178, 151, 0), "Light grayish magenta": (204, 153, 204), "Light medium orchid": (211, 155, 203), "Light moss green": (173, 223, 173), "Light orchid": (230, 168, 215), "Light pastel purple": (177, 156, 217), "Light periwinkle": (197, 203, 225), "Light red": (255, 51, 51), "Light red ochre": (233, 116, 81), "Light salmon pink": (255, 153, 153), "Light sea green": (32, 178, 170), "Light silver": (216, 216, 216), "Light Thulian pink": (230, 143, 172), "Lilac": (200, 162, 200), "Lilac Luster": (174, 152, 170), "Lime (color wheel)": (191, 255, 0), "Lime (web) (X11 green)": (0, 255, 0), "Lime green": (50, 205, 50), "Limerick": (157, 194, 9), "Lincoln green": (25, 89, 5), "Linen": (250, 240, 230), "Lion": (193, 154, 107), "Liseran purple": (222, 111, 161), "Little boy blue": (108, 160, 220), "Little girl pink": (248, 185, 212), "Liver": (103, 76, 71), "Liver (dogs)": (184, 109, 41), "Liver (organ)": (108, 46, 31), "Liver chestnut": (152, 116, 86), "Livid": (102, 153, 204), "Lotion": (255, 254, 250), "Lotion blue": (123, 154, 200), "Lotion pink": (236, 207, 207), "Lumber": (255, 228, 205), "Lust": (230, 32, 32), "Maastricht Blue": (0, 28, 61), "Macaroni and Cheese": (255, 189, 136), "Madder Lake": (204, 51, 54), "Magenta": (255, 0, 255), "Mahogany": (192, 64, 0), "Maize": (251, 236, 93), "Maize (Crayola)": (242, 198, 73), "Majorelle Blue": (96, 80, 220), "Malachite": (11, 218, 81), "Manatee": (151, 154, 170), "Mandarin": (243, 122, 72), "Mango": (253, 190, 2), "Mango green": (150, 255, 0), "Mango Tango": (255, 130, 67), "Mantis": (116, 195, 101), "Mardi Gras": (136, 0, 133), "Marigold": (234, 162, 33), "Maroon (Crayola)": (195, 33, 72), "Maroon (HTML/CSS)": (128, 0, 0), "Maroon (X11)": (176, 48, 96), "Mauve": (224, 176, 255), "Mauve taupe": (145, 95, 109), "Mauvelous": (239, 152, 170), "Maximum Blue": (71, 171, 204), "Maximum Blue Green": (48, 191, 191), "Maximum Blue Purple": (172, 172, 230), "Maximum Green": (94, 140, 49), "Maximum Green Yellow": (217, 230, 80), "Maximum orange": (255, 91, 0), "Maximum Purple": (115, 51, 128), "Maximum pink": (246, 165, 242), "Maximum red": (217, 33, 33), "Maximum Red Purple": (166, 58, 121), "Maximum violet": (137, 47, 119), "Maximum yellow": (250, 250, 55), "Maximum yellow red": (242, 186, 73), "May green": (76, 145, 65), "Maya blue": (115, 194, 251), "Meat brown": (229, 183, 59), "Medium aquamarine": (102, 221, 170), "Medium blue": (0, 0, 205), "Medium candy apple red": (226, 6, 44), "Medium carmine": (175, 64, 53), "Medium champagne": (243, 229, 171), "Medium electric blue": (3, 80, 150), "Medium green": (3, 121, 73), "Medium jungle green": (28, 53, 45), "Medium lavender magenta": (221, 160, 221), "Medium orange": (255, 120, 2), "Medium orchid": (186, 85, 211), "Medium Persian blue": (0, 103, 165), "Medium pink": (254, 110, 159), "Medium purple": (147, 112, 219), "Medium red": (177, 3, 4), "Medium red-violet": (187, 51, 133), "Medium ruby": (170, 64, 105), "Medium sea green": (60, 179, 113), "Medium sky blue": (128, 218, 235), "Medium slate blue": (123, 104, 238), "Medium spring bud": (201, 220, 135), "Medium spring green": (0, 250, 154), "Medium taupe": (103, 76, 71), "Medium turquoise": (72, 209, 204), "Medium Tuscan red": (121, 68, 59), "Medium vermilion": (217, 96, 59), "Medium violet": (101, 49, 95), "Medium violet-red": (199, 21, 133), "Medium yellow": (255, 227, 2), "Mellow apricot": (248, 184, 120), "Mellow yellow": (248, 222, 126), "Melon": (253, 188, 180), "Melon (Crayola)": (254, 186, 173), "Menthol": (193, 249, 162), "Metallic blue": (50, 82, 123), "Metallic bronze": (169, 113, 66), "Metallic brown": (172, 67, 19), "Metallic gold": (211, 175, 55), "Metallic green": (41, 110, 1), "Metallic orange": (218, 104, 15), "Metallic pink": (237, 166, 196), "Metallic red": (166, 44, 43), "Metallic Seaweed": (10, 126, 140), "Metallic silver": (168, 169, 173), "Metallic Sunburst": (156, 124, 56), "Metallic violet": (90, 10, 145), "Metallic yellow": (253, 204, 13), "Mexican pink": (228, 0, 124), "Microsoft blue": (0, 162, 237), "Microsoft Edge blue": (0, 120, 215), "Microsoft green": (125, 183, 0), "Microsoft red": (240, 78, 31), "Microsoft yellow": (253, 185, 0), "Middle blue": (126, 212, 230), "Middle blue green": (141, 217, 204), "Middle blue purple": (139, 114, 190), "Middle grey": (139, 134, 128), "Middle green": (77, 140, 87), "Middle green yellow": (172, 191, 96), "Middle purple": (217, 130, 181), "Middle red": (229, 144, 115), "Middle red purple": (165, 83, 83), "Middle yellow": (255, 235, 0), "Middle yellow red": (236, 177, 118), "Midnight": (112, 38, 112), "Midnight blue": (25, 25, 112), "Midnight blue": (0, 70, 140), "Midnight green (eagle green)": (0, 73, 83), "Mikado yellow": (255, 196, 12), "Milk": (253, 255, 245), "Milk chocolate": (132, 86, 60), "Mimi pink": (255, 218, 233), "Mindaro": (227, 249, 136), "Ming": (54, 116, 125), "Minion yellow": (245, 220, 80), "Mint": (62, 180, 137), "Mint cream": (245, 255, 250), "Mint green": (152, 255, 152), "Misty Moss": (187, 180, 119), "Misty rose": (255, 228, 225), "Moccasin": (250, 235, 215), "Mocha": (190, 164, 147), "Mode beige": (150, 113, 23), "Moonstone": (58, 168, 193), "Moonstone blue": (115, 169, 194), "Mordant red 19": (174, 12, 0), "Morning blue": (141, 163, 153), "Moss green": (138, 154, 91), "Mountain Meadow": (48, 186, 143), "Mountbatten pink": (153, 122, 141), "MSU green": (24, 69, 59), "Mud": (111, 83, 61), "Mughal green": (48, 96, 48), "Mulberry": (197, 75, 140), "Mulberry (Crayola)": (200, 80, 155), "Mummy's Tomb": (130, 142, 132), "Mustard": (255, 219, 88), "Mustard brown": (205, 122, 0), "Mustard green": (110, 110, 48), "Mustard yellow": (255, 173, 1), "Myrtle green": (49, 120, 115), "Mystic": (214, 82, 130), "Mystic maroon": (173, 67, 121), "Mystic red": (255, 34, 0), "Nadeshiko pink": (246, 173, 198), "Napier green": (42, 128, 0), "Naples yellow": (250, 218, 94), "Navajo white": (255, 222, 173), "Navy blue": (0, 0, 128), "Navy blue (Crayola)": (25, 116, 210), "Navy purple": (148, 87, 235), "Neon blue": (27, 3, 163), "Neon brown": (195, 115, 42), "Neon Carrot": (255, 163, 67), "Neon cyan": (0, 254, 252), "Neon fuchsia": (254, 65, 100), "Neon gold": (207, 170, 1), "Neon gray": (128, 128, 128), "Neon dark green": (0, 132, 67), "Neon green": (19, 155, 66), "Neon green": (57, 255, 20), "Neon pink": (254, 52, 126), "Neon purple": (148, 87, 235), "Neon red": (255, 24, 24), "Neon scarlet": (255, 38, 3), "Neon silver": (204, 204, 204), "Neon tangerine": (246, 137, 10), "Neon yellow": (255, 247, 0), "New Car": (33, 79, 198), "New York pink": (215, 131, 127), "Nickel": (114, 116, 114), "Nintendo red": (228, 0, 15), "Non-photo blue": (164, 221, 237), "Nyanza": (233, 255, 219), "Ocean blue": (79, 66, 181), "Ocean boat blue": (0, 119, 190), "Ocean green": (72, 191, 145), "Ochre": (204, 119, 34), "Office green": (0, 128, 0), "Ogre Odor": (253, 82, 64), "Old burgundy": (67, 48, 46), "Old gold": (207, 181, 59), "Old heliotrope": (86, 60, 92), "Old lace": (253, 245, 230), "Old lavender": (121, 104, 120), "Old mauve": (103, 49, 71), "Old moss green": (134, 126, 54), "Old rose": (192, 128, 129), "Old silver": (132, 132, 130), "Olive": (128, 128, 0), "Olive drab (#3)": (107, 142, 35), "Olive drab #7": (60, 52, 31), "Olive green": (181, 179, 92), "Olivine": (154, 185, 115), "Onyx": (53, 56, 57), "Opal": (168, 195, 188), "Opera mauve": (183, 132, 167), "Orange": (255, 102, 0), "Orange (color wheel)": (255, 127, 0), "Orange (Crayola)": (255, 117, 56), "Orange (Pantone)": (255, 88, 0), "Orange (RYB)": (251, 153, 2), "Orange (web)": (255, 165, 0), "Orange iced tea": (255, 103, 0), "Orange-red (Crayola)": (255, 83, 73), "Orange soda": (231, 78, 20), "Orange Soda": (250, 91, 61), "Orange-yellow": (245, 189, 31), "Orange-yellow (Crayola)": (248, 213, 104), "Orchid": (218, 112, 214), "Orchid pink": (242, 189, 205), "Orchid (Crayola)": (226, 156, 210), "Orioles orange": (251, 79, 20), "Otter brown": (101, 67, 33), "Outer Space": (65, 74, 76), "Outer space (Crayola)": (45, 56, 58), "Outrageous Orange": (255, 110, 74), "Oxblood": (128, 0, 32), "Oxford blue": (0, 33, 71), "Oxley": (109, 154, 121), "OU Crimson red": (153, 0, 0), "Pacific Blue": (28, 169, 201), "Pakistan green": (0, 102, 0), "Palatinate blue": (39, 59, 226), "Palatinate purple": (104, 40, 96), "Pale aqua": (188, 212, 230), "Pale blue": (175, 238, 238), "Pale brown": (152, 118, 84), "Pale carmine": (175, 64, 53), "Pale cerulean": (155, 196, 226), "Pale chestnut": (221, 173, 175), "Pale copper": (218, 138, 103), "Pale cornflower blue": (171, 205, 239), "Pale cyan": (135, 211, 248), "Pale gold": (230, 190, 138), "Pale goldenrod": (238, 232, 170), "Pale green": (152, 251, 152), "Pale lavender": (220, 208, 255), "Pale magenta": (249, 132, 229), "Pale pink": (250, 218, 221), "Pale plum": (221, 160, 221), "Pale robin egg blue": (150, 222, 209), "Pale silver": (201, 192, 187), "Pale spring bud": (236, 235, 189), "Pale taupe": (188, 152, 126), "Pale turquoise": (175, 238, 238), "Pale violet": (204, 153, 255), "Pale violet-red": (219, 112, 147), "Palm Leaf": (111, 153, 64), "Pansy purple": (120, 24, 74), "Paolo Veronese green": (0, 155, 125), "Papaya whip": (255, 239, 213), "Paradise pink": (230, 62, 98), "Paris Green": (80, 200, 120), "Parrot Pink": (217, 152, 160), "Pastel blue": (174, 198, 207), "Pastel brown": (130, 105, 83), "Pastel gray": (207, 207, 196), "Pastel green": (119, 221, 119), "Pastel magenta": (244, 154, 194), "Pastel orange": (255, 179, 71), "Pastel pink": (222, 165, 164), "Pastel purple": (179, 158, 181), "Pastel red": (255, 105, 97), "Pastel violet": (203, 153, 201), "Pastel yellow": (253, 253, 150), "Patriarch": (128, 0, 128), "Payne's grey": (83, 104, 120), "Peach": (255, 229, 180), "Peach (Crayola)": (255, 203, 164), "Peach puff": (255, 218, 185), "Pear": (209, 226, 49), "Pearl": (234, 224, 200), "Pearl Aqua": (136, 216, 192), "Pearly purple": (183, 104, 162), "Peridot": (230, 226, 0), "Periwinkle": (204, 204, 255), "Periwinkle (Crayola)": (195, 205, 230), "Permanent Geranium Lake": (225, 44, 44), "Persian blue": (28, 57, 187), "Persian green": (0, 166, 147), "Persian indigo": (50, 18, 122), "Persian orange": (217, 144, 88), "Persian pink": (247, 127, 190), "Persian plum": (112, 28, 28), "Persian red": (204, 51, 51), "Persian rose": (254, 40, 162), "Persimmon": (236, 88, 0), "Peru": (205, 133, 63), "Pewter Blue": (139, 168, 183), "Philippine blue": (0, 56, 167), "Philippine bronze": (110, 58, 7), "Philippine brown": (93, 25, 22), "Philippine gold": (177, 115, 4), "Philippine golden yellow": (253, 223, 22), "Philippine gray": (140, 140, 140), "Philippine green": (0, 133, 67), "Philippine indigo": (0, 65, 106), "Philippine orange": (255, 115, 0), "Philippine pink": (255, 26, 142), "Philippine red": (206, 17, 39), "Philippine silver": (179, 179, 179), "Philippine sky blue": (0, 102, 255), "Philippine violet": (129, 0, 127), "Philippine yellow": (254, 203, 0), "Phlox": (223, 0, 255), "Phthalo blue": (0, 15, 137), "Phthalo green": (18, 53, 36), "Picton blue": (69, 177, 232), "Pictorial carmine": (195, 11, 78), "Piggy pink": (253, 221, 230), "Pine green": (1, 121, 111), "Pine tree": (42, 47, 35), "Pineapple": (86, 60, 13), "Pink": (255, 192, 203), "Pink (Pantone)": (215, 72, 148), "Pink Diamond (Ace Hardware Color)": (246, 214, 222), "Pink Diamond (Independent Retailers Colors)": (240, 211, 220), "Pink flamingo": (252, 116, 253), "Pink lace": (255, 221, 244), "Pink pearl": (231, 172, 207), "Pink Sherbet": (247, 143, 167), "Pistachio": (147, 197, 114), "Pixie Powder": (57, 18, 133), "Platinum": (229, 228, 226), "Plum": (142, 69, 133), "Plum (web)": (221, 160, 221), "Plump Purple": (89, 70, 178), "Police blue": (55, 79, 107), "Polished Pine": (93, 164, 147), "Pomp and Power": (134, 96, 142), "Portland Orange": (255, 90, 54), "Powder blue": (176, 224, 230), "Princess Perfume": (255, 133, 207), "Princeton orange": (245, 128, 37), "Prune": (112, 28, 28), "Prussian blue": (0, 49, 83), "Psychedelic purple": (223, 0, 255), "Puce": (204, 136, 153), "Puce red": (114, 47, 55), "Pullman Brown (UPS Brown)": (100, 65, 23), "Pumpkin": (255, 117, 24), "Purple (HTML)": (128, 0, 128), "Purple (Munsell)": (159, 0, 197), "Purple (X11)": (160, 32, 240), "Purple Heart": (105, 53, 156), "Purple mountain majesty": (150, 120, 182), "Purple navy": (78, 81, 128), "Purple pizzazz": (254, 78, 218), "Purple Plum": (156, 81, 182), "Purple taupe": (80, 64, 77), "Purpureus": (154, 78, 174), "Quartz": (81, 72, 79), "Queen blue": (67, 107, 149), "Queen pink": (232, 204, 215), "Quick Silver": (166, 166, 166), "Quinacridone magenta": (142, 58, 89), "Quincy": (106, 84, 69), "Rackley": (93, 138, 168), "Radical Red": (255, 53, 94), "Raisin black": (36, 33, 36), "Rajah": (251, 171, 96), "Raspberry": (227, 11, 92), "Raw Sienna": (214, 138, 89), "Raw umber": (130, 102, 68), "Razzmic Berry": (141, 78, 133), "Rebecca Purple": (102, 52, 153), "Red": (255, 0, 0), "Red (Crayola)": (238, 32, 77), "Red (Munsell)": (242, 0, 60), "Red (NCS)": (196, 2, 51), "Red (Pantone)": (237, 41, 57), "Red (pigment)": (237, 28, 36), "Red (RYB)": (254, 39, 18), "Red cola": (223, 1, 24), "Red-orange (Crayola)": (255, 104, 31), "Red-orange (Color wheel)": (255, 69, 0), "Red rum": (151, 58, 74), "Red Salsa": (253, 58, 74), "Red strawberry": (236, 3, 1), "Red-violet": (199, 21, 133), "Red-violet (Crayola)": (192, 68, 143), "Red-violet (Color wheel)": (146, 43, 62), "Redwood": (164, 90, 82), "Registration black": (0, 0, 0), "Resolution blue": (0, 35, 135), "Rhythm": (119, 118, 150), "Rich brilliant lavender": (241, 167, 254), "Rich carmine": (215, 0, 64), "Rich electric blue": (8, 146, 208), "Rich lavender": (167, 107, 207), "Rich lilac": (182, 102, 210), "Rich maroon": (176, 48, 96), "Rifle green": (68, 76, 56), "Ripe mango": (255, 195, 36), "Roast coffee": (112, 66, 65), "Robin egg blue": (0, 204, 204), "Rocket metallic": (138, 127, 128), "Roman silver": (131, 137, 150), "Root beer": (41, 14, 5), "Rose": (255, 0, 127), "Rose Dust": (158, 94, 111), "Rose madder": (227, 38, 54), "Royal azure": (0, 56, 168), "Royal blue": (0, 35, 102), "Royal blue": (65, 105, 225), "Royal brown": (82, 59, 53), "Royal fuchsia": (202, 44, 146), "Royal green": (19, 98, 7), "Royal orange": (249, 146, 69), "Royal pink": (231, 56, 149), "Royal red": (155, 28, 49), "Royal red": (208, 0, 96), "Royal purple": (120, 81, 169), "Royal yellow": (250, 218, 94), "Ruby": (224, 17, 95), "Rufous": (168, 28, 7), "Rum": (154, 78, 64), "Russet": (128, 70, 27), "Russian green": (103, 146, 103), "Russian violet": (50, 23, 77), "Rust": (183, 65, 14), "Rusty red": (218, 44, 67), "Sacramento State green": (4, 57, 39), "Saddle brown": (139, 69, 19), "Safety orange": (255, 120, 0), "Safety orange (blaze orange)": (255, 103, 0), "Safety yellow": (238, 210, 2), "Saffron": (244, 196, 48), "Sage": (188, 184, 138), "St. Patrick's blue": (35, 41, 122), "Salem": (23, 123, 77), "Salmon": (250, 128, 114), "Salmon Rose": (231, 150, 139), "Salmon pink": (255, 145, 164), "Samsung blue": (18, 39, 158), "Sand": (194, 178, 128), "Sand dune": (150, 113, 23), "Sandstorm": (236, 213, 64), "Sandy brown": (244, 164, 96), "Sandy Tan": (253, 217, 181), "Sandy taupe": (150, 113, 23), "Sap green": (80, 125, 42), "Sapphire": (15, 82, 186), "Sapphire blue": (0, 103, 165), "Sasquatch Socks": (255, 70, 129), "Satin sheen gold": (203, 161, 53), "Scarlet": (255, 36, 0), "Scarlet": (253, 14, 53), "Schauss pink": (255, 145, 175), "School bus yellow": (255, 216, 0), "Screamin' Green": (102, 255, 102), "Sea blue": (0, 105, 148), "Sea Foam Green": (195, 226, 191), "Sea green": (46, 139, 87), "Sea green (Crayola)": (1, 255, 205), "Sea Serpent": (75, 199, 207), "Seal brown": (50, 20, 20), "Seashell": (255, 245, 238), "Selective yellow": (255, 186, 0), "Sepia": (112, 66, 20), "Shadow": (138, 121, 93), "Shadow blue": (119, 139, 165), "Shampoo": (255, 207, 241), "Shamrock green": (0, 158, 96), "Shandy": (255, 230, 112), "Sheen green": (143, 212, 0), "Shimmering Blush": (217, 134, 149), "Shiny Shamrock": (95, 167, 120), "Shocking pink": (252, 15, 192), "Shocking pink (Crayola)": (255, 111, 255), "Sienna": (136, 45, 23), "Silver": (192, 192, 192), "Silver (Crayola)": (201, 192, 187), "Silver (Metallic)": (170, 169, 173), "Silver chalice": (172, 172, 172), "Silver foil": (175, 177, 174), "Silver Lake blue": (93, 137, 186), "Silver pink": (196, 174, 173), "Silver sand": (191, 193, 194), "Sinopia": (203, 65, 11), "Sizzling Red": (255, 56, 85), "Sizzling Sunrise": (255, 219, 0), "Skobeloff": (0, 116, 116), "Sky blue": (135, 206, 235), "Sky blue (Crayola)": (118, 215, 234), "Sky magenta": (207, 113, 175), "Slate blue": (106, 90, 205), "Slate gray": (112, 128, 144), "Slimy green": (41, 150, 23), "Smalt (Dark powder blue)": (0, 51, 153), "Smashed Pumpkin": (255, 109, 58), "Smoke": (115, 130, 118), "Smokey Topaz": (131, 42, 34), "Smoky black": (16, 12, 8), "Soap": (206, 200, 239), "Solid pink": (137, 56, 67), "Sonic silver": (117, 117, 117), "Spartan Crimson": (158, 19, 22), "Space cadet": (29, 41, 81), "Spanish bistre": (128, 117, 50), "Spanish blue": (0, 112, 184), "Spanish carmine": (209, 0, 71), "Spanish crimson": (229, 26, 76), "Spanish gray": (152, 152, 152), "Spanish green": (0, 145, 80), "Spanish orange": (232, 97, 0), "Spanish pink": (247, 191, 190), "Spanish purple": (102, 3, 60), "Spanish red": (230, 0, 38), "Spanish sky blue": (0, 255, 255), "Spanish violet": (76, 40, 130), "Spanish viridian": (0, 127, 92), "Spanish yellow": (246, 181, 17), "Spicy mix": (139, 95, 77), "Spiro Disco Ball": (15, 192, 252), "Spring bud": (167, 252, 0), "Spring Frost": (135, 255, 42), "Spring green": (0, 255, 127), "Spring green (Crayola)": (236, 235, 189), "Star command blue": (0, 123, 184), "Steel blue": (70, 130, 180), "Steel pink": (204, 51, 204), "Steel Teal": (95, 138, 139), "Stil de grain yellow": (250, 218, 94), "Straw": (228, 217, 111), "Strawberry": (252, 90, 141), "Stop red": (207, 20, 43), "Strawberry iced tea": (252, 90, 141), "Strawberry red": (200, 63, 73), "Sugar Plum": (145, 78, 117), "Sunburnt Cyclops": (255, 64, 76), "Sunglow": (255, 204, 51), "Sunny": (242, 242, 122), "Sunray": (227, 171, 87), "Sunset": (250, 214, 165), "Sunset orange": (253, 94, 83), "Super pink": (207, 107, 169), "Sweet Brown": (168, 55, 49), "Tan": (210, 180, 140), "Tan (Crayola)": (217, 154, 108), "Tangelo": (249, 77, 0), "Tangerine": (242, 133, 0), "Tangerine yellow": (255, 204, 0), "Tango pink": (228, 113, 122), "Tart Orange": (251, 77, 70), "Taupe": (72, 60, 50), "Taupe gray": (139, 133, 137), "Tea green": (208, 240, 192), "Tea rose": (248, 131, 121), "Tea rose": (244, 194, 194), "Teal": (0, 128, 128), "Teal blue": (54, 117, 136), "Teal deer": (153, 230, 179), "Teal green": (0, 130, 127), "Telemagenta": (207, 52, 118), "Temptress": (60, 33, 38), "Tenné": (205, 87, 0), "Terra cotta": (226, 114, 91), "Thistle": (216, 191, 216), "Thistle (Crayola)": (235, 176, 215), "Thulian pink": (222, 111, 161), "Tickle Me Pink": (252, 137, 172), "Tiffany Blue": (10, 186, 181), "Tiger's eye": (224, 141, 60), "Timberwolf": (219, 215, 210), "Titanium": (135, 134, 129), "Titanium yellow": (238, 230, 0), "Tomato": (255, 99, 71), "Tomato sauce": (178, 24, 7), "Toolbox": (116, 108, 192), "Tooth": (255, 250, 250), "Topaz": (255, 200, 124), "Tractor red": (253, 14, 53), "Trolley grey": (128, 128, 128), "Tropical rain forest": (0, 117, 94), "Tropical violet": (205, 164, 222), "True blue": (0, 115, 207), "Tufts blue": (62, 142, 222), "Tulip": (255, 135, 141), "Tumbleweed": (222, 170, 136), "Turkish rose": (181, 114, 129), "Turquoise": (64, 224, 208), "Turquoise green": (160, 214, 180), "Turquoise Surf": (0, 197, 205), "Tuscan brown": (111, 78, 55), "Tuscan red": (124, 72, 72), "Tuscan tan": (166, 123, 91), "Tuscany": (192, 153, 153), "Twitter blue": (38, 167, 222), "Tyrian purple": (102, 2, 60), "Ultramarine": (18, 10, 143), "Ultramarine blue": (65, 102, 245), "Ultramarine blue (Caran d'Ache)": (33, 17, 239), "Ultra pink": (255, 111, 255), "Ultra red": (252, 108, 133), "Umber": (99, 81, 71), "Unbleached silk": (255, 221, 202), "United Nations blue": (91, 146, 229), "Unmellow yellow": (255, 255, 102), "UP maroon": (123, 17, 19), "Upsdell red": (174, 32, 41), "Urobilin": (225, 173, 33), "Vampire black": (8, 8, 8), "Van Dyke brown": (102, 66, 40), "Vanilla": (243, 229, 171), "Vanilla ice": (243, 143, 169), "Vegas gold": (197, 179, 88), "Venetian red": (200, 8, 21), "Verdigris": (67, 179, 174), "Vermilion": (227, 66, 52), "Vermilion": (217, 56, 30), "Veronica": (160, 32, 240), "Very light azure": (116, 187, 251), "Very light blue": (102, 102, 255), "Very light malachite green": (100, 233, 134), "Very light tangelo": (255, 176, 119), "Very pale orange": (255, 223, 191), "Very pale yellow": (255, 255, 191), "Vine Green": (22, 64, 16), "Violet": (143, 0, 255), "Violet (Caran d'Ache)": (110, 0, 192), "Violet (color wheel)": (127, 0, 255), "Violet (crayola)": (150, 61, 127), "Violet (RYB)": (134, 1, 175), "Violet (web)": (238, 130, 238), "Violet-blue": (50, 74, 178), "Violet-blue (Crayola)": (118, 110, 200), "Violin Brown": (103, 68, 3), "Viridian": (64, 130, 109), "Viridian green": (0, 150, 152), "Vista blue": (124, 158, 217), "Vivid amber": (204, 153, 0), "Vivid auburn": (146, 39, 36), "Vivid burgundy": (159, 29, 53), "Vivid cerise": (218, 29, 129), "Vivid cerulean": (0, 170, 238), "Vivid crimson": (204, 0, 51), "Vivid gamboge": (255, 153, 0), "Vivid lime green": (166, 214, 8), "Vivid mulberry": (184, 12, 227), "Vivid orange": (255, 95, 0), "Vivid orange peel": (255, 160, 0), "Vivid orchid": (204, 0, 255), "Vivid raspberry": (255, 0, 108), "Vivid red": (247, 13, 26), "Vivid red-tangelo": (223, 97, 36), "Vivid tangelo": (240, 116, 39), "Vivid tangerine": (255, 160, 137), "Vivid vermilion": (229, 96, 36), "Vivid violet": (159, 0, 255), "Vivid yellow": (255, 227, 2), "Water": (212, 241, 249), "Watermelon": (240, 92, 133), "Watermelon red": (190, 65, 71), "Watermelon Yellow": (238, 255, 27), "Waterspout": (164, 244, 249), "Wenge": (100, 84, 82), "Wheat": (245, 222, 179), "White": (255, 255, 255), "White chocolate": (237, 230, 214), "White coffee": (230, 224, 212), "White smoke": (245, 245, 245), "Wild orchid": (212, 112, 162), "Wild Strawberry": (255, 67, 164), "Wild watermelon": (252, 108, 133), "Willpower orange": (253, 88, 0), "Windsor tan": (167, 85, 2), "Wine": (114, 47, 55), "Wine red": (177, 18, 38), "Winter Sky": (255, 0, 124), "Winter Wizard": (160, 230, 255), "Wintergreen Dream": (86, 136, 125), "Wisteria": (201, 160, 220), "Wood brown": (193, 154, 107), "Xanadu": (115, 134, 120), "Yellow": (255, 255, 0), "Yellow (Crayola)": (252, 232, 131), "Yellow (Munsell)": (239, 204, 0), "Yellow (NCS)": (255, 211, 0), "Yellow (Pantone)": (254, 223, 0), "Yellow (process)": (255, 239, 0), "Yellow (RYB)": (254, 254, 51), "Yellow-green": (154, 205, 50), "Yellow-green (Crayola)": (197, 227, 132), "Yellow Orange": (255, 174, 66), "Yellow Orange (Color Wheel)": (255, 149, 5), "Yellow rose": (255, 240, 0), "Yellow Sunshine": (255, 247, 0), "YInMn Blue": (46, 80, 144), "Zaffre": (0, 20, 168), "Zebra White": (245, 245, 245), "Zinnwaldite": (44, 22, 8)} | |
def distance(a, b, c, x, y, z): | |
return (a-x)**2 + (b-y)**2 + (c-z)**2 | |
def closest_color(r, g, b): | |
m = min(colors.items(), key=lambda k: distance(r, g, b, *k[1])) | |
return m | |
name, color = closest_color(int('67', 16), int('34', 16), int('29', 16)) | |
print(name, color) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment