"""
Module: colors.py

This module provides functionality for working with a predefined list of named colors.
It includes methods to search for the closest color name given a hex value and to retrieve 
color information such as RGB and HEX values.

Classes:
    - ColorManager: Manages predefined color data and provides search functionality.

Methods:
    - ColorManager.__init__: Initializes the color manager with a predefined list of colors.
    - ColorManager.hex_to_rgb: Converts a hex color code to RGB.
    - ColorManager.rgb_to_hex: Converts RGB values to a hex color code.
    - ColorManager.closest_color_name: Finds the closest color name given a hex value.
    - ColorManager.get_color_by_name: Returns the hex and RGB values of a color based on its name.
"""

class ColorManager:
    """
    Manages a collection of predefined named colors and provides methods for color search
    and conversion between different color formats.

    Attributes:
        color_list (list): A predefined list of dictionaries containing 'hex' and 'name' keys.

    Methods:
        __init__(): Initializes the ColorManager with a predefined list of colors.
        hex_to_rgb(hex_value): Converts a hex color code to an RGB tuple.
        rgb_to_hex(r, g, b): Converts RGB values to a hex color code.
        closest_color_name(hex_value): Finds the closest color name to the given hex value.
        get_color_by_name(name): Returns the hex and RGB values of a color based on its name.
    """

    def __init__(self):
        """
        Initializes the ColorManager with a predefined list of color data.
        """

        self.color_list = [
            {"hex": "#5d8aa8", "name": "Air Force blue"},
            {"hex": "#f0f8ff", "name": "Alice blue"},
            {"hex": "#e32636", "name": "Alizarin crimson"},
            {"hex": "#efdecd", "name": "Almond"},
            {"hex": "#e52b50", "name": "Amaranth"},
            {"hex": "#ffbf00", "name": "Amber"},
            {"hex": "#ff033e", "name": "American rose"},
            {"hex": "#9966cc", "name": "Amethyst"},
            {"hex": "#a4c639", "name": "Android Green"},
            {"hex": "#f2f3f4", "name": "Anti-flash white"},
            {"hex": "#cd9575", "name": "Antique brass"},
            {"hex": "#915c83", "name": "Antique fuchsia"},
            {"hex": "#faebd7", "name": "Antique white"},
            {"hex": "#008000", "name": "Ao"},
            {"hex": "#8db600", "name": "Apple green"},
            {"hex": "#fbceb1", "name": "Apricot"},
            {"hex": "#00ffff", "name": "Aqua"},
            {"hex": "#7fffd4", "name": "Aquamarine"},
            {"hex": "#4b5320", "name": "Army green"},
            {"hex": "#e9d66b", "name": "Arylide yellow"},
            {"hex": "#b2beb5", "name": "Ash grey"},
            {"hex": "#87a96b", "name": "Asparagus"},
            {"hex": "#ff9966", "name": "Atomic tangerine"},
            {"hex": "#a52a2a", "name": "Auburn"},
            {"hex": "#fdee00", "name": "Aureolin"},
            {"hex": "#6e7f80", "name": "AuroMetalSaurus"},
            {"hex": "#ff2052", "name": "Awesome"},
            {"hex": "#007fff", "name": "Azure"},
            {"hex": "#f0ffff", "name": "Azure mist/web"},
            {"hex": "#89cff0", "name": "Baby blue"},
            {"hex": "#a1caf1", "name": "Baby blue eyes"},
            {"hex": "#f4c2c2", "name": "Baby pink"},
            {"hex": "#21abcd", "name": "Ball Blue"},
            {"hex": "#fae7b5", "name": "Banana Mania"},
            {"hex": "#ffe135", "name": "Banana yellow"},
            {"hex": "#848482", "name": "Battleship grey"},
            {"hex": "#98777b", "name": "Bazaar"},
            {"hex": "#bcd4e6", "name": "Beau blue"},
            {"hex": "#9f8170", "name": "Beaver"},
            {"hex": "#f5f5dc", "name": "Beige"},
            {"hex": "#ffe4c4", "name": "Bisque"},
            {"hex": "#3d2b1f", "name": "Bistre"},
            {"hex": "#fe6f5e", "name": "Bittersweet"},
            {"hex": "#000000", "name": "Black"},
            {"hex": "#ffebcd", "name": "Blanched Almond"},
            {"hex": "#318ce7", "name": "Bleu de France"},
            {"hex": "#ace5ee", "name": "Blizzard Blue"},
            {"hex": "#faf0be", "name": "Blond"},
            {"hex": "#0000ff", "name": "Blue"},
            {"hex": "#a2a2d0", "name": "Blue Bell"},
            {"hex": "#6699cc", "name": "Blue Gray"},
            {"hex": "#0d98ba", "name": "Blue green"},
            {"hex": "#8a2be2", "name": "Blue purple"},
            {"hex": "#8a2be2", "name": "Blue violet"},
            {"hex": "#de5d83", "name": "Blush"},
            {"hex": "#79443b", "name": "Bole"},
            {"hex": "#0095b6", "name": "Bondi blue"},
            {"hex": "#e3dac9", "name": "Bone"},
            {"hex": "#cc0000", "name": "Boston University Red"},
            {"hex": "#006a4e", "name": "Bottle green"},
            {"hex": "#873260", "name": "Boysenberry"},
            {"hex": "#0070ff", "name": "Brandeis blue"},
            {"hex": "#b5a642", "name": "Brass"},
            {"hex": "#cb4154", "name": "Brick red"},
            {"hex": "#1dacd6", "name": "Bright cerulean"},
            {"hex": "#66ff00", "name": "Bright green"},
            {"hex": "#bf94e4", "name": "Bright lavender"},
            {"hex": "#c32148", "name": "Bright maroon"},
            {"hex": "#ff007f", "name": "Bright pink"},
            {"hex": "#08e8de", "name": "Bright turquoise"},
            {"hex": "#d19fe8", "name": "Bright ube"},
            {"hex": "#f4bbff", "name": "Brilliant lavender"},
            {"hex": "#ff55a3", "name": "Brilliant rose"},
            {"hex": "#fb607f", "name": "Brink pink"},
            {"hex": "#004225", "name": "British racing green"},
            {"hex": "#cd7f32", "name": "Bronze"},
            {"hex": "#a52a2a", "name": "Brown"},
            {"hex": "#ffc1cc", "name": "Bubble gum"},
            {"hex": "#e7feff", "name": "Bubbles"},
            {"hex": "#f0dc82", "name": "Buff"},
            {"hex": "#480607", "name": "Bulgarian rose"},
            {"hex": "#800020", "name": "Burgundy"},
            {"hex": "#deb887", "name": "Burlywood"},
            {"hex": "#cc5500", "name": "Burnt orange"},
            {"hex": "#e97451", "name": "Burnt sienna"},
            {"hex": "#8a3324", "name": "Burnt umber"},
            {"hex": "#bd33a4", "name": "Byzantine"},
            {"hex": "#702963", "name": "Byzantium"},
            {"hex": "#007aa5", "name": "CG Blue"},
            {"hex": "#e03c31", "name": "CG Red"},
            {"hex": "#536872", "name": "Cadet"},
            {"hex": "#5f9ea0", "name": "Cadet blue"},
            {"hex": "#91a3b0", "name": "Cadet grey"},
            {"hex": "#006b3c", "name": "Cadmium green"},
            {"hex": "#ed872d", "name": "Cadmium orange"},
            {"hex": "#e30022", "name": "Cadmium red"},
            {"hex": "#fff600", "name": "Cadmium yellow"},
            {"hex": "#a67b5b", "name": "Café au lait"},
            {"hex": "#4b3621", "name": "Café noir"},
            {"hex": "#1e4d2b", "name": "Cal Poly Pomona green"},
            {"hex": "#a3c1ad", "name": "Cambridge Blue"},
            {"hex": "#c19a6b", "name": "Camel"},
            {"hex": "#78866b", "name": "Camouflage green"},
            {"hex": "#ffff99", "name": "Canary"},
            {"hex": "#ffef00", "name": "Canary yellow"},
            {"hex": "#ff0800", "name": "Candy apple red"},
            {"hex": "#e4717a", "name": "Candy pink"},
            {"hex": "#00bfff", "name": "Capri"},
            {"hex": "#592720", "name": "Caput mortuum"},
            {"hex": "#c41e3a", "name": "Cardinal"},
            {"hex": "#00cc99", "name": "Caribbean green"},
            {"hex": "#ff0040", "name": "Carmine"},
            {"hex": "#eb4c42", "name": "Carmine pink"},
            {"hex": "#ff0038", "name": "Carmine red"},
            {"hex": "#ffa6c9", "name": "Carnation pink"},
            {"hex": "#b31b1b", "name": "Carnelian"},
            {"hex": "#99badd", "name": "Carolina blue"},
            {"hex": "#ed9121", "name": "Carrot orange"},
            {"hex": "#ace1af", "name": "Celadon"},
            {"hex": "#b2ffff", "name": "Celeste"},
            {"hex": "#4997d0", "name": "Celestial blue"},
            {"hex": "#de3163", "name": "Cerise"},
            {"hex": "#ec3b83", "name": "Cerise pink"},
            {"hex": "#007ba7", "name": "Cerulean"},
            {"hex": "#2a52be", "name": "Cerulean blue"},
            {"hex": "#a0785a", "name": "Chamoisee"},
            {"hex": "#fad6a5", "name": "Champagne"},
            {"hex": "#36454f", "name": "Charcoal"},
            {"hex": "#7fff00", "name": "Chartreuse"},
            {"hex": "#de3163", "name": "Cherry"},
            {"hex": "#ffb7c5", "name": "Cherry blossom pink"},
            {"hex": "#cd5c5c", "name": "Chestnut"},
            {"hex": "#d2691e", "name": "Chocolate"},
            {"hex": "#ffa700", "name": "Chrome yellow"},
            {"hex": "#98817b", "name": "Cinereous"},
            {"hex": "#e34234", "name": "Cinnabar"},
            {"hex": "#d2691e", "name": "Cinnamon"},
            {"hex": "#e4d00a", "name": "Citrine"},
            {"hex": "#fbcce7", "name": "Classic rose"},
            {"hex": "#0047ab", "name": "Cobalt"},
            {"hex": "#d2691e", "name": "Cocoa brown"},
            {"hex": "#6f4e37", "name": "Coffee"},
            {"hex": "#9bddff", "name": "Columbia blue"},
            {"hex": "#002e63", "name": "Cool black"},
            {"hex": "#8c92ac", "name": "Cool grey"},
            {"hex": "#b87333", "name": "Copper"},
            {"hex": "#996666", "name": "Copper rose"},
            {"hex": "#ff3800", "name": "Coquelicot"},
            {"hex": "#ff7f50", "name": "Coral"},
            {"hex": "#f88379", "name": "Coral pink"},
            {"hex": "#ff4040", "name": "Coral red"},
            {"hex": "#893f45", "name": "Cordovan"},
            {"hex": "#fbec5d", "name": "Corn"},
            {"hex": "#b31b1b", "name": "Cornell Red"},
            {"hex": "#9aceeb", "name": "Cornflower"},
            {"hex": "#6495ed", "name": "Cornflower blue"},
            {"hex": "#fff8dc", "name": "Cornsilk"},
            {"hex": "#fff8e7", "name": "Cosmic latte"},
            {"hex": "#ffbcd9", "name": "Cotton candy"},
            {"hex": "#fffdd0", "name": "Cream"},
            {"hex": "#dc143c", "name": "Crimson"},
            {"hex": "#990000", "name": "Crimson Red"},
            {"hex": "#be0032", "name": "Crimson glory"},
            {"hex": "#00ffff", "name": "Cyan"},
            {"hex": "#ffff31", "name": "Daffodil"},
            {"hex": "#f0e130", "name": "Dandelion"},
            {"hex": "#00008b", "name": "Dark blue"},
            {"hex": "#654321", "name": "Dark brown"},
            {"hex": "#5d3954", "name": "Dark byzantium"},
            {"hex": "#a40000", "name": "Dark candy apple red"},
            {"hex": "#08457e", "name": "Dark cerulean"},
            {"hex": "#986960", "name": "Dark chestnut"},
            {"hex": "#cd5b45", "name": "Dark coral"},
            {"hex": "#008b8b", "name": "Dark cyan"},
            {"hex": "#536878", "name": "Dark electric blue"},
            {"hex": "#b8860b", "name": "Dark goldenrod"},
            {"hex": "#a9a9a9", "name": "Dark gray"},
            {"hex": "#013220", "name": "Dark green"},
            {"hex": "#1a2421", "name": "Dark jungle green"},
            {"hex": "#bdb76b", "name": "Dark khaki"},
            {"hex": "#483c32", "name": "Dark lava"},
            {"hex": "#734f96", "name": "Dark lavender"},
            {"hex": "#8b008b", "name": "Dark magenta"},
            {"hex": "#003366", "name": "Dark midnight blue"},
            {"hex": "#556b2f", "name": "Dark olive green"},
            {"hex": "#ff8c00", "name": "Dark orange"},
            {"hex": "#9932cc", "name": "Dark orchid"},
            {"hex": "#779ecb", "name": "Dark pastel blue"},
            {"hex": "#03c03c", "name": "Dark pastel green"},
            {"hex": "#966fd6", "name": "Dark pastel purple"},
            {"hex": "#c23b22", "name": "Dark pastel red"},
            {"hex": "#e75480", "name": "Dark pink"},
            {"hex": "#003399", "name": "Dark powder blue"},
            {"hex": "#872657", "name": "Dark raspberry"},
            {"hex": "#8b0000", "name": "Dark red"},
            {"hex": "#e9967a", "name": "Dark salmon"},
            {"hex": "#560319", "name": "Dark scarlet"},
            {"hex": "#8fbc8f", "name": "Dark sea green"},
            {"hex": "#3c1414", "name": "Dark sienna"},
            {"hex": "#483d8b", "name": "Dark slate blue"},
            {"hex": "#2f4f4f", "name": "Dark slate gray"},
            {"hex": "#177245", "name": "Dark spring green"},
            {"hex": "#918151", "name": "Dark tan"},
            {"hex": "#ffa812", "name": "Dark tangerine"},
            {"hex": "#483c32", "name": "Dark taupe"},
            {"hex": "#cc4e5c", "name": "Dark terra cotta"},
            {"hex": "#00ced1", "name": "Dark turquoise"},
            {"hex": "#9400d3", "name": "Dark violet"},
            {"hex": "#00693e", "name": "Dartmouth green"},
            {"hex": "#555555", "name": "Davy grey"},
            {"hex": "#d70a53", "name": "Debian red"},
            {"hex": "#a9203e", "name": "Deep carmine"},
            {"hex": "#ef3038", "name": "Deep carmine pink"},
            {"hex": "#e9692c", "name": "Deep carrot orange"},
            {"hex": "#da3287", "name": "Deep cerise"},
            {"hex": "#fad6a5", "name": "Deep champagne"},
            {"hex": "#b94e48", "name": "Deep chestnut"},
            {"hex": "#704241", "name": "Deep coffee"},
            {"hex": "#c154c1", "name": "Deep fuchsia"},
            {"hex": "#004b49", "name": "Deep jungle green"},
            {"hex": "#9955bb", "name": "Deep lilac"},
            {"hex": "#cc00cc", "name": "Deep magenta"},
            {"hex": "#ffcba4", "name": "Deep peach"},
            {"hex": "#ff1493", "name": "Deep pink"},
            {"hex": "#ff9933", "name": "Deep saffron"},
            {"hex": "#00bfff", "name": "Deep sky blue"},
            {"hex": "#1560bd", "name": "Denim"},
            {"hex": "#c19a6b", "name": "Desert"},
            {"hex": "#edc9af", "name": "Desert sand"},
            {"hex": "#696969", "name": "Dim gray"},
            {"hex": "#1e90ff", "name": "Dodger blue"},
            {"hex": "#d71868", "name": "Dogwood rose"},
            {"hex": "#85bb65", "name": "Dollar bill"},
            {"hex": "#967117", "name": "Drab"},
            {"hex": "#00009c", "name": "Duke blue"},
            {"hex": "#e1a95f", "name": "Earth yellow"},
            {"hex": "#c2b280", "name": "Ecru"},
            {"hex": "#614051", "name": "Eggplant"},
            {"hex": "#f0ead6", "name": "Eggshell"},
            {"hex": "#1034a6", "name": "Egyptian blue"},
            {"hex": "#7df9ff", "name": "Electric blue"},
            {"hex": "#ff003f", "name": "Electric crimson"},
            {"hex": "#00ffff", "name": "Electric cyan"},
            {"hex": "#00ff00", "name": "Electric green"},
            {"hex": "#6f00ff", "name": "Electric indigo"},
            {"hex": "#f4bbff", "name": "Electric lavender"},
            {"hex": "#ccff00", "name": "Electric lime"},
            {"hex": "#bf00ff", "name": "Electric purple"},
            {"hex": "#3f00ff", "name": "Electric ultramarine"},
            {"hex": "#8f00ff", "name": "Electric violet"},
            {"hex": "#ffff00", "name": "Electric yellow"},
            {"hex": "#50c878", "name": "Emerald"},
            {"hex": "#96c8a2", "name": "Eton blue"},
            {"hex": "#c19a6b", "name": "Fallow"},
            {"hex": "#801818", "name": "Falu red"},
            {"hex": "#ff00ff", "name": "Famous"},
            {"hex": "#b53389", "name": "Fandango"},
            {"hex": "#f400a1", "name": "Fashion fuchsia"},
            {"hex": "#e5aa70", "name": "Fawn"},
            {"hex": "#4d5d53", "name": "Feldgrau"},
            {"hex": "#71bc78", "name": "Fern"},
            {"hex": "#4f7942", "name": "Fern green"},
            {"hex": "#ff2800", "name": "Ferrari Red"},
            {"hex": "#6c541e", "name": "Field drab"},
            {"hex": "#ce2029", "name": "Fire engine red"},
            {"hex": "#b22222", "name": "Firebrick"},
            {"hex": "#e25822", "name": "Flame"},
            {"hex": "#fc8eac", "name": "Flamingo pink"},
            {"hex": "#f7e98e", "name": "Flavescent"},
            {"hex": "#eedc82", "name": "Flax"},
            {"hex": "#fffaf0", "name": "Floral white"},
            {"hex": "#ffbf00", "name": "Fluorescent orange"},
            {"hex": "#ff1493", "name": "Fluorescent pink"},
            {"hex": "#ccff00", "name": "Fluorescent yellow"},
            {"hex": "#ff004f", "name": "Folly"},
            {"hex": "#228b22", "name": "Forest green"},
            {"hex": "#a67b5b", "name": "French beige"},
            {"hex": "#0072bb", "name": "French blue"},
            {"hex": "#86608e", "name": "French lilac"},
            {"hex": "#f64a8a", "name": "French rose"},
            {"hex": "#ff00ff", "name": "Fuchsia"},
            {"hex": "#ff77ff", "name": "Fuchsia pink"},
            {"hex": "#e48400", "name": "Fulvous"},
            {"hex": "#cc6666", "name": "Fuzzy Wuzzy"},
            {"hex": "#dcdcdc", "name": "Gainsboro"},
            {"hex": "#e49b0f", "name": "Gamboge"},
            {"hex": "#f8f8ff", "name": "Ghost white"},
            {"hex": "#b06500", "name": "Ginger"},
            {"hex": "#6082b6", "name": "Glaucous"},
            {"hex": "#e6e8fa", "name": "Glitter"},
            {"hex": "#ffd700", "name": "Gold"},
            {"hex": "#996515", "name": "Golden brown"},
            {"hex": "#fcc200", "name": "Golden poppy"},
            {"hex": "#ffdf00", "name": "Golden yellow"},
            {"hex": "#daa520", "name": "Goldenrod"},
            {"hex": "#a8e4a0", "name": "Granny Smith Apple"},
            {"hex": "#808080", "name": "Gray"},
            {"hex": "#465945", "name": "Gray asparagus"},
            {"hex": "#00ff00", "name": "Green"},
            {"hex": "#1164b4", "name": "Green Blue"},
            {"hex": "#adff2f", "name": "Green yellow"},
            {"hex": "#a99a86", "name": "Grullo"},
            {"hex": "#00ff7f", "name": "Guppie green"},
            {"hex": "#663854", "name": "Halayà úbe"},
            {"hex": "#446ccf", "name": "Han blue"},
            {"hex": "#5218fa", "name": "Han purple"},
            {"hex": "#e9d66b", "name": "Hansa yellow"},
            {"hex": "#3fff00", "name": "Harlequin"},
            {"hex": "#c90016", "name": "Harvard crimson"},
            {"hex": "#da9100", "name": "Harvest Gold"},
            {"hex": "#808000", "name": "Heart Gold"},
            {"hex": "#df73ff", "name": "Heliotrope"},
            {"hex": "#f400a1", "name": "Hollywood cerise"},
            {"hex": "#f0fff0", "name": "Honeydew"},
            {"hex": "#49796b", "name": "Hooker green"},
            {"hex": "#ff1dce", "name": "Hot magenta"},
            {"hex": "#ff69b4", "name": "Hot pink"},
            {"hex": "#355e3b", "name": "Hunter green"},
            {"hex": "#fcf75e", "name": "Icterine"},
            {"hex": "#b2ec5d", "name": "Inchworm"},
            {"hex": "#138808", "name": "India green"},
            {"hex": "#cd5c5c", "name": "Indian red"},
            {"hex": "#e3a857", "name": "Indian yellow"},
            {"hex": "#4b0082", "name": "Indigo"},
            {"hex": "#002fa7", "name": "International Klein Blue"},
            {"hex": "#ff4f00", "name": "International orange"},
            {"hex": "#5a4fcf", "name": "Iris"},
            {"hex": "#f4f0ec", "name": "Isabelline"},
            {"hex": "#009000", "name": "Islamic green"},
            {"hex": "#fffff0", "name": "Ivory"},
            {"hex": "#00a86b", "name": "Jade"},
            {"hex": "#f8de7e", "name": "Jasmine"},
            {"hex": "#d73b3e", "name": "Jasper"},
            {"hex": "#a50b5e", "name": "Jazzberry jam"},
            {"hex": "#fada5e", "name": "Jonquil"},
            {"hex": "#bdda57", "name": "June bud"},
            {"hex": "#29ab87", "name": "Jungle green"},
            {"hex": "#e8000d", "name": "KU Crimson"},
            {"hex": "#4cbb17", "name": "Kelly green"},
            {"hex": "#c3b091", "name": "Khaki"},
            {"hex": "#087830", "name": "La Salle Green"},
            {"hex": "#d6cadd", "name": "Languid lavender"},
            {"hex": "#26619c", "name": "Lapis lazuli"},
            {"hex": "#fefe22", "name": "Laser Lemon"},
            {"hex": "#a9ba9d", "name": "Laurel green"},
            {"hex": "#cf1020", "name": "Lava"},
            {"hex": "#e6e6fa", "name": "Lavender"},
            {"hex": "#ccccff", "name": "Lavender blue"},
            {"hex": "#fff0f5", "name": "Lavender blush"},
            {"hex": "#c4c3d0", "name": "Lavender gray"},
            {"hex": "#9457eb", "name": "Lavender indigo"},
            {"hex": "#ee82ee", "name": "Lavender magenta"},
            {"hex": "#e6e6fa", "name": "Lavender mist"},
            {"hex": "#fbaed2", "name": "Lavender pink"},
            {"hex": "#967bb6", "name": "Lavender purple"},
            {"hex": "#fba0e3", "name": "Lavender rose"},
            {"hex": "#7cfc00", "name": "Lawn green"},
            {"hex": "#fff700", "name": "Lemon"},
            {"hex": "#fff44f", "name": "Lemon Yellow"},
            {"hex": "#fffacd", "name": "Lemon chiffon"},
            {"hex": "#bfff00", "name": "Lemon lime"},
            {"hex": "#f56991", "name": "Light Crimson"},
            {"hex": "#e68fac", "name": "Light Thulian pink"},
            {"hex": "#fdd5b1", "name": "Light apricot"},
            {"hex": "#add8e6", "name": "Light blue"},
            {"hex": "#b5651d", "name": "Light brown"},
            {"hex": "#e66771", "name": "Light carmine pink"},
            {"hex": "#f08080", "name": "Light coral"},
            {"hex": "#93ccea", "name": "Light cornflower blue"},
            {"hex": "#e0ffff", "name": "Light cyan"},
            {"hex": "#f984ef", "name": "Light fuchsia pink"},
            {"hex": "#fafad2", "name": "Light goldenrod yellow"},
            {"hex": "#d3d3d3", "name": "Light gray"},
            {"hex": "#90ee90", "name": "Light green"},
            {"hex": "#f0e68c", "name": "Light khaki"},
            {"hex": "#b19cd9", "name": "Light pastel purple"},
            {"hex": "#ffb6c1", "name": "Light pink"},
            {"hex": "#ffa07a", "name": "Light salmon"},
            {"hex": "#ff9999", "name": "Light salmon pink"},
            {"hex": "#20b2aa", "name": "Light sea green"},
            {"hex": "#87cefa", "name": "Light sky blue"},
            {"hex": "#778899", "name": "Light slate gray"},
            {"hex": "#b38b6d", "name": "Light taupe"},
            {"hex": "#ffffed", "name": "Light yellow"},
            {"hex": "#c8a2c8", "name": "Lilac"},
            {"hex": "#bfff00", "name": "Lime"},
            {"hex": "#32cd32", "name": "Lime green"},
            {"hex": "#195905", "name": "Lincoln green"},
            {"hex": "#faf0e6", "name": "Linen"},
            {"hex": "#c19a6b", "name": "Lion"},
            {"hex": "#534b4f", "name": "Liver"},
            {"hex": "#e62020", "name": "Lust"},
            {"hex": "#18453b", "name": "MSU Green"},
            {"hex": "#ffbd88", "name": "Macaroni and Cheese"},
            {"hex": "#ff00ff", "name": "Magenta"},
            {"hex": "#aaf0d1", "name": "Magic mint"},
            {"hex": "#f8f4ff", "name": "Magnolia"},
            {"hex": "#c04000", "name": "Mahogany"},
            {"hex": "#fbec5d", "name": "Maize"},
            {"hex": "#6050dc", "name": "Majorelle Blue"},
            {"hex": "#0bda51", "name": "Malachite"},
            {"hex": "#979aaa", "name": "Manatee"},
            {"hex": "#ff8243", "name": "Mango Tango"},
            {"hex": "#74c365", "name": "Mantis"},
            {"hex": "#800000", "name": "Maroon"},
            {"hex": "#e0b0ff", "name": "Mauve"},
            {"hex": "#915f6d", "name": "Mauve taupe"},
            {"hex": "#ef98aa", "name": "Mauvelous"},
            {"hex": "#73c2fb", "name": "Maya blue"},
            {"hex": "#e5b73b", "name": "Meat brown"},
            {"hex": "#0067a5", "name": "Medium Persian blue"},
            {"hex": "#66ddaa", "name": "Medium aquamarine"},
            {"hex": "#0000cd", "name": "Medium blue"},
            {"hex": "#e2062c", "name": "Medium candy apple red"},
            {"hex": "#af4035", "name": "Medium carmine"},
            {"hex": "#f3e5ab", "name": "Medium champagne"},
            {"hex": "#035096", "name": "Medium electric blue"},
            {"hex": "#1c352d", "name": "Medium jungle green"},
            {"hex": "#dda0dd", "name": "Medium lavender magenta"},
            {"hex": "#ba55d3", "name": "Medium orchid"},
            {"hex": "#9370db", "name": "Medium purple"},
            {"hex": "#bb3385", "name": "Medium red violet"},
            {"hex": "#3cb371", "name": "Medium sea green"},
            {"hex": "#7b68ee", "name": "Medium slate blue"},
            {"hex": "#c9dc87", "name": "Medium spring bud"},
            {"hex": "#00fa9a", "name": "Medium spring green"},
            {"hex": "#674c47", "name": "Medium taupe"},
            {"hex": "#0054b4", "name": "Medium teal blue"},
            {"hex": "#48d1cc", "name": "Medium turquoise"},
            {"hex": "#c71585", "name": "Medium violet red"},
            {"hex": "#fdbcb4", "name": "Melon"},
            {"hex": "#191970", "name": "Midnight blue"},
            {"hex": "#004953", "name": "Midnight green"},
            {"hex": "#ffc40c", "name": "Mikado yellow"},
            {"hex": "#3eb489", "name": "Mint"},
            {"hex": "#f5fffa", "name": "Mint cream"},
            {"hex": "#98ff98", "name": "Mint green"},
            {"hex": "#ffe4e1", "name": "Misty rose"},
            {"hex": "#faebd7", "name": "Moccasin"},
            {"hex": "#967117", "name": "Mode beige"},
            {"hex": "#73a9c2", "name": "Moonstone blue"},
            {"hex": "#ae0c00", "name": "Mordant red 19"},
            {"hex": "#addfad", "name": "Moss green"},
            {"hex": "#30ba8f", "name": "Mountain Meadow"},
            {"hex": "#997a8d", "name": "Mountbatten pink"},
            {"hex": "#c54b8c", "name": "Mulberry"},
            {"hex": "#f2f3f4", "name": "Munsell"},
            {"hex": "#ffdb58", "name": "Mustard"},
            {"hex": "#21421e", "name": "Myrtle"},
            {"hex": "#f6adc6", "name": "Nadeshiko pink"},
            {"hex": "#2a8000", "name": "Napier green"},
            {"hex": "#fada5e", "name": "Naples yellow"},
            {"hex": "#ffdead", "name": "Navajo white"},
            {"hex": "#000080", "name": "Navy blue"},
            {"hex": "#ffa343", "name": "Neon Carrot"},
            {"hex": "#fe59c2", "name": "Neon fuchsia"},
            {"hex": "#39ff14", "name": "Neon green"},
            {"hex": "#a4dded", "name": "Non-photo blue"},
            {"hex": "#059033", "name": "North Texas Green"},
            {"hex": "#0077be", "name": "Ocean Boat Blue"},
            {"hex": "#cc7722", "name": "Ochre"},
            {"hex": "#008000", "name": "Office green"},
            {"hex": "#cfb53b", "name": "Old gold"},
            {"hex": "#fdf5e6", "name": "Old lace"},
            {"hex": "#796878", "name": "Old lavender"},
            {"hex": "#673147", "name": "Old mauve"},
            {"hex": "#c08081", "name": "Old rose"},
            {"hex": "#808000", "name": "Olive"},
            {"hex": "#6b8e23", "name": "Olive Drab"},
            {"hex": "#bab86c", "name": "Olive Green"},
            {"hex": "#9ab973", "name": "Olivine"},
            {"hex": "#0f0f0f", "name": "Onyx"},
            {"hex": "#b784a7", "name": "Opera mauve"},
            {"hex": "#ffa500", "name": "Orange"},
            {"hex": "#f8d568", "name": "Orange Yellow"},
            {"hex": "#ff9f00", "name": "Orange peel"},
            {"hex": "#ff4500", "name": "Orange red"},
            {"hex": "#da70d6", "name": "Orchid"},
            {"hex": "#654321", "name": "Otter brown"},
            {"hex": "#414a4c", "name": "Outer Space"},
            {"hex": "#ff6e4a", "name": "Outrageous Orange"},
            {"hex": "#002147", "name": "Oxford Blue"},
            {"hex": "#1ca9c9", "name": "Pacific Blue"},
            {"hex": "#006600", "name": "Pakistan green"},
            {"hex": "#273be2", "name": "Palatinate blue"},
            {"hex": "#682860", "name": "Palatinate purple"},
            {"hex": "#bcd4e6", "name": "Pale aqua"},
            {"hex": "#afeeee", "name": "Pale blue"},
            {"hex": "#987654", "name": "Pale brown"},
            {"hex": "#af4035", "name": "Pale carmine"},
            {"hex": "#9bc4e2", "name": "Pale cerulean"},
            {"hex": "#ddadaf", "name": "Pale chestnut"},
            {"hex": "#da8a67", "name": "Pale copper"},
            {"hex": "#abcdef", "name": "Pale cornflower blue"},
            {"hex": "#e6be8a", "name": "Pale gold"},
            {"hex": "#eee8aa", "name": "Pale goldenrod"},
            {"hex": "#98fb98", "name": "Pale green"},
            {"hex": "#dcd0ff", "name": "Pale lavender"},
            {"hex": "#f984e5", "name": "Pale magenta"},
            {"hex": "#fadadd", "name": "Pale pink"},
            {"hex": "#dda0dd", "name": "Pale plum"},
            {"hex": "#db7093", "name": "Pale red violet"},
            {"hex": "#96ded1", "name": "Pale robin egg blue"},
            {"hex": "#c9c0bb", "name": "Pale silver"},
            {"hex": "#ecebbd", "name": "Pale spring bud"},
            {"hex": "#bc987e", "name": "Pale taupe"},
            {"hex": "#db7093", "name": "Pale violet red"},
            {"hex": "#78184a", "name": "Pansy purple"},
            {"hex": "#ffefd5", "name": "Papaya whip"},
            {"hex": "#50c878", "name": "Paris Green"},
            {"hex": "#aec6cf", "name": "Pastel blue"},
            {"hex": "#836953", "name": "Pastel brown"},
            {"hex": "#cfcfc4", "name": "Pastel gray"},
            {"hex": "#77dd77", "name": "Pastel green"},
            {"hex": "#f49ac2", "name": "Pastel magenta"},
            {"hex": "#ffb347", "name": "Pastel orange"},
            {"hex": "#ffd1dc", "name": "Pastel pink"},
            {"hex": "#b39eb5", "name": "Pastel purple"},
            {"hex": "#ff6961", "name": "Pastel red"},
            {"hex": "#cb99c9", "name": "Pastel violet"},
            {"hex": "#fdfd96", "name": "Pastel yellow"},
            {"hex": "#800080", "name": "Patriarch"},
            {"hex": "#536878", "name": "Payne grey"},
            {"hex": "#ffe5b4", "name": "Peach"},
            {"hex": "#ffdab9", "name": "Peach puff"},
            {"hex": "#fadfad", "name": "Peach yellow"},
            {"hex": "#d1e231", "name": "Pear"},
            {"hex": "#eae0c8", "name": "Pearl"},
            {"hex": "#88d8c0", "name": "Pearl Aqua"},
            {"hex": "#e6e200", "name": "Peridot"},
            {"hex": "#ccccff", "name": "Periwinkle"},
            {"hex": "#1c39bb", "name": "Persian blue"},
            {"hex": "#32127a", "name": "Persian indigo"},
            {"hex": "#d99058", "name": "Persian orange"},
            {"hex": "#f77fbe", "name": "Persian pink"},
            {"hex": "#701c1c", "name": "Persian plum"},
            {"hex": "#cc3333", "name": "Persian red"},
            {"hex": "#fe28a2", "name": "Persian rose"},
            {"hex": "#df00ff", "name": "Phlox"},
            {"hex": "#000f89", "name": "Phthalo blue"},
            {"hex": "#123524", "name": "Phthalo green"},
            {"hex": "#fddde6", "name": "Piggy pink"},
            {"hex": "#01796f", "name": "Pine green"},
            {"hex": "#ffc0cb", "name": "Pink"},
            {"hex": "#fc74fd", "name": "Pink Flamingo"},
            {"hex": "#f78fa7", "name": "Pink Sherbet"},
            {"hex": "#e7accf", "name": "Pink pearl"},
            {"hex": "#93c572", "name": "Pistachio"},
            {"hex": "#e5e4e2", "name": "Platinum"},
            {"hex": "#dda0dd", "name": "Plum"},
            {"hex": "#ff5a36", "name": "Portland Orange"},
            {"hex": "#b0e0e6", "name": "Powder blue"},
            {"hex": "#ff8f00", "name": "Princeton orange"},
            {"hex": "#003153", "name": "Prussian blue"},
            {"hex": "#df00ff", "name": "Psychedelic purple"},
            {"hex": "#cc8899", "name": "Puce"},
            {"hex": "#ff7518", "name": "Pumpkin"},
            {"hex": "#800080", "name": "Purple"},
            {"hex": "#69359c", "name": "Purple Heart"},
            {"hex": "#9d81ba", "name": "Purple Mountain's Majesty"},
            {"hex": "#9678b6", "name": "Purple mountain majesty"},
            {"hex": "#fe4eda", "name": "Purple pizzazz"},
            {"hex": "#50404d", "name": "Purple taupe"},
            {"hex": "#5d8aa8", "name": "Rackley"},
            {"hex": "#ff355e", "name": "Radical Red"},
            {"hex": "#e30b5d", "name": "Raspberry"},
            {"hex": "#915f6d", "name": "Raspberry glace"},
            {"hex": "#e25098", "name": "Raspberry pink"},
            {"hex": "#b3446c", "name": "Raspberry rose"},
            {"hex": "#d68a59", "name": "Raw Sienna"},
            {"hex": "#ff33cc", "name": "Razzle dazzle rose"},
            {"hex": "#e3256b", "name": "Razzmatazz"},
            {"hex": "#ff0000", "name": "Red"},
            {"hex": "#ff5349", "name": "Red Orange"},
            {"hex": "#a52a2a", "name": "Red brown"},
            {"hex": "#c71585", "name": "Red violet"},
            {"hex": "#004040", "name": "Rich black"},
            {"hex": "#d70040", "name": "Rich carmine"},
            {"hex": "#0892d0", "name": "Rich electric blue"},
            {"hex": "#b666d2", "name": "Rich lilac"},
            {"hex": "#b03060", "name": "Rich maroon"},
            {"hex": "#414833", "name": "Rifle green"},
            {"hex": "#1fcecb", "name": "Robin's Egg Blue"},
            {"hex": "#ff007f", "name": "Rose"},
            {"hex": "#f9429e", "name": "Rose bonbon"},
            {"hex": "#674846", "name": "Rose ebony"},
            {"hex": "#b76e79", "name": "Rose gold"},
            {"hex": "#e32636", "name": "Rose madder"},
            {"hex": "#ff66cc", "name": "Rose pink"},
            {"hex": "#aa98a9", "name": "Rose quartz"},
            {"hex": "#905d5d", "name": "Rose taupe"},
            {"hex": "#ab4e52", "name": "Rose vale"},
            {"hex": "#65000b", "name": "Rosewood"},
            {"hex": "#d40000", "name": "Rosso corsa"},
            {"hex": "#bc8f8f", "name": "Rosy brown"},
            {"hex": "#0038a8", "name": "Royal azure"},
            {"hex": "#4169e1", "name": "Royal blue"},
            {"hex": "#ca2c92", "name": "Royal fuchsia"},
            {"hex": "#7851a9", "name": "Royal purple"},
            {"hex": "#e0115f", "name": "Ruby"},
            {"hex": "#ff0028", "name": "Ruddy"},
            {"hex": "#bb6528", "name": "Ruddy brown"},
            {"hex": "#e18e96", "name": "Ruddy pink"},
            {"hex": "#a81c07", "name": "Rufous"},
            {"hex": "#80461b", "name": "Russet"},
            {"hex": "#b7410e", "name": "Rust"},
            {"hex": "#00563f", "name": "Sacramento State green"},
            {"hex": "#8b4513", "name": "Saddle brown"},
            {"hex": "#ff6700", "name": "Safety orange"},
            {"hex": "#f4c430", "name": "Saffron"},
            {"hex": "#23297a", "name": "Saint Patrick Blue"},
            {"hex": "#ff8c69", "name": "Salmon"},
            {"hex": "#ff91a4", "name": "Salmon pink"},
            {"hex": "#c2b280", "name": "Sand"},
            {"hex": "#967117", "name": "Sand dune"},
            {"hex": "#ecd540", "name": "Sandstorm"},
            {"hex": "#f4a460", "name": "Sandy brown"},
            {"hex": "#967117", "name": "Sandy taupe"},
            {"hex": "#507d2a", "name": "Sap green"},
            {"hex": "#0f52ba", "name": "Sapphire"},
            {"hex": "#cba135", "name": "Satin sheen gold"},
            {"hex": "#ff2400", "name": "Scarlet"},
            {"hex": "#ffd800", "name": "School bus yellow"},
            {"hex": "#76ff7a", "name": "Screamin Green"},
            {"hex": "#006994", "name": "Sea blue"},
            {"hex": "#2e8b57", "name": "Sea green"},
            {"hex": "#321414", "name": "Seal brown"},
            {"hex": "#fff5ee", "name": "Seashell"},
            {"hex": "#ffba00", "name": "Selective yellow"},
            {"hex": "#704214", "name": "Sepia"},
            {"hex": "#8a795d", "name": "Shadow"},
            {"hex": "#45cea2", "name": "Shamrock"},
            {"hex": "#009e60", "name": "Shamrock green"},
            {"hex": "#fc0fc0", "name": "Shocking pink"},
            {"hex": "#882d17", "name": "Sienna"},
            {"hex": "#c0c0c0", "name": "Silver"},
            {"hex": "#cb410b", "name": "Sinopia"},
            {"hex": "#007474", "name": "Skobeloff"},
            {"hex": "#87ceeb", "name": "Sky blue"},
            {"hex": "#cf71af", "name": "Sky magenta"},
            {"hex": "#6a5acd", "name": "Slate blue"},
            {"hex": "#708090", "name": "Slate gray"},
            {"hex": "#003399", "name": "Smalt"},
            {"hex": "#933d41", "name": "Smokey topaz"},
            {"hex": "#100c08", "name": "Smoky black"},
            {"hex": "#fffafa", "name": "Snow"},
            {"hex": "#0fc0fc", "name": "Spiro Disco Ball"},
            {"hex": "#a7fc00", "name": "Spring bud"},
            {"hex": "#00ff7f", "name": "Spring green"},
            {"hex": "#4682b4", "name": "Steel blue"},
            {"hex": "#fada5e", "name": "Stil de grain yellow"},
            {"hex": "#990000", "name": "Stizza"},
            {"hex": "#008080", "name": "Stormcloud"},
            {"hex": "#e4d96f", "name": "Straw"},
            {"hex": "#ffcc33", "name": "Sunglow"},
            {"hex": "#fad6a5", "name": "Sunset"},
            {"hex": "#fd5e53", "name": "Sunset Orange"},
            {"hex": "#d2b48c", "name": "Tan"},
            {"hex": "#f94d00", "name": "Tangelo"},
            {"hex": "#f28500", "name": "Tangerine"},
            {"hex": "#ffcc00", "name": "Tangerine yellow"},
            {"hex": "#483c32", "name": "Taupe"},
            {"hex": "#8b8589", "name": "Taupe gray"},
            {"hex": "#cd5700", "name": "Tawny"},
            {"hex": "#d0f0c0", "name": "Tea green"},
            {"hex": "#f4c2c2", "name": "Tea rose"},
            {"hex": "#008080", "name": "Teal"},
            {"hex": "#367588", "name": "Teal blue"},
            {"hex": "#006d5b", "name": "Teal green"},
            {"hex": "#e2725b", "name": "Terra cotta"},
            {"hex": "#d8bfd8", "name": "Thistle"},
            {"hex": "#de6fa1", "name": "Thulian pink"},
            {"hex": "#fc89ac", "name": "Tickle Me Pink"},
            {"hex": "#0abab5", "name": "Tiffany Blue"},
            {"hex": "#e08d3c", "name": "Tiger eye"},
            {"hex": "#dbd7d2", "name": "Timberwolf"},
            {"hex": "#eee600", "name": "Titanium yellow"},
            {"hex": "#ff6347", "name": "Tomato"},
            {"hex": "#746cc0", "name": "Toolbox"},
            {"hex": "#ffc87c", "name": "Topaz"},
            {"hex": "#fd0e35", "name": "Tractor red"},
            {"hex": "#808080", "name": "Trolley Grey"},
            {"hex": "#00755e", "name": "Tropical rain forest"},
            {"hex": "#0073cf", "name": "True Blue"},
            {"hex": "#417dc1", "name": "Tufts Blue"},
            {"hex": "#deaa88", "name": "Tumbleweed"},
            {"hex": "#b57281", "name": "Turkish rose"},
            {"hex": "#30d5c8", "name": "Turquoise"},
            {"hex": "#00ffef", "name": "Turquoise blue"},
            {"hex": "#a0d6b4", "name": "Turquoise green"},
            {"hex": "#66424d", "name": "Tuscan red"},
            {"hex": "#8a496b", "name": "Twilight lavender"},
            {"hex": "#66023c", "name": "Tyrian purple"},
            {"hex": "#0033aa", "name": "UA blue"},
            {"hex": "#d9004c", "name": "UA red"},
            {"hex": "#536895", "name": "UCLA Blue"},
            {"hex": "#ffb300", "name": "UCLA Gold"},
            {"hex": "#3cd070", "name": "UFO Green"},
            {"hex": "#014421", "name": "UP Forest green"},
            {"hex": "#7b1113", "name": "UP Maroon"},
            {"hex": "#990000", "name": "USC Cardinal"},
            {"hex": "#ffcc00", "name": "USC Gold"},
            {"hex": "#8878c3", "name": "Ube"},
            {"hex": "#ff6fff", "name": "Ultra pink"},
            {"hex": "#120a8f", "name": "Ultramarine"},
            {"hex": "#4166f5", "name": "Ultramarine blue"},
            {"hex": "#635147", "name": "Umber"},
            {"hex": "#5b92e5", "name": "United Nations blue"},
            {"hex": "#b78727", "name": "University of California Gold"},
            {"hex": "#ffff66", "name": "Unmellow Yellow"},
            {"hex": "#ae2029", "name": "Upsdell red"},
            {"hex": "#e1ad21", "name": "Urobilin"},
            {"hex": "#d3003f", "name": "Utah Crimson"},
            {"hex": "#f3e5ab", "name": "Vanilla"},
            {"hex": "#c5b358", "name": "Vegas gold"},
            {"hex": "#c80815", "name": "Venetian red"},
            {"hex": "#43b3ae", "name": "Verdigris"},
            {"hex": "#e34234", "name": "Vermilion"},
            {"hex": "#a020f0", "name": "Veronica"},
            {"hex": "#ee82ee", "name": "Violet"},
            {"hex": "#324ab2", "name": "Violet Blue"},
            {"hex": "#f75394", "name": "Violet Red"},
            {"hex": "#40826d", "name": "Viridian"},
            {"hex": "#922724", "name": "Vivid auburn"},
            {"hex": "#9f1d35", "name": "Vivid burgundy"},
            {"hex": "#da1d81", "name": "Vivid cerise"},
            {"hex": "#ffa089", "name": "Vivid tangerine"},
            {"hex": "#9f00ff", "name": "Vivid violet"},
            {"hex": "#004242", "name": "Warm black"},
            {"hex": "#00ffff", "name": "Waterspout"},
            {"hex": "#645452", "name": "Wenge"},
            {"hex": "#f5deb3", "name": "Wheat"},
            {"hex": "#ffffff", "name": "White"},
            {"hex": "#f5f5f5", "name": "White smoke"},
            {"hex": "#ff43a4", "name": "Wild Strawberry"},
            {"hex": "#fc6c85", "name": "Wild Watermelon"},
            {"hex": "#a2add0", "name": "Wild blue yonder"},
            {"hex": "#722f37", "name": "Wine"},
            {"hex": "#c9a0dc", "name": "Wisteria"},
            {"hex": "#738678", "name": "Xanadu"},
            {"hex": "#0f4d92", "name": "Yale Blue"},
            {"hex": "#ffff00", "name": "Yellow"},
            {"hex": "#ffae42", "name": "Yellow Orange"},
            {"hex": "#9acd32", "name": "Yellow green"},
            {"hex": "#0014a8", "name": "Zaffre"},
            {"hex": "#2c1608", "name": "Zinnwaldite brown"}
        ]

    def hex_to_rgb(self, hex_value):
        """
        Converts a hex color code to an RGB tuple.

        Parameters:
            hex_value (str): A string representing a hex color code (e.g., "#FFFFFF").

        Returns:
            tuple: A tuple representing the RGB values (e.g., (255, 255, 255)).
        """
        hex_value = hex_value.lstrip('#')
        return tuple(int(hex_value[i:i+2], 16) for i in (0, 2, 4))

    def rgb_to_hex(self, r, g, b):
        """
        Converts RGB values to a hex color code.

        Parameters:
            r (int): Red value (0-255).
            g (int): Green value (0-255).
            b (int): Blue value (0-255).

        Returns:
            str: A string representing the hex color code (e.g., "#FFFFFF").
        """
        return f"#{r:02X}{g:02X}{b:02X}"

    def closest_color_name(self, hex_value):
        """
        Finds the closest named color to the given hex value.

        Parameters:
            hex_value (str): A string representing a hex color code (e.g., "#FFFFFF").

        Returns:
            str: The name of the closest color from the list.
        """
        target_rgb = self.hex_to_rgb(hex_value)
        closest_color = None
        min_distance = float('inf')

        for color in self.color_list:
            current_rgb = self.hex_to_rgb(color['hex'])
            distance = sum((c1 - c2) ** 2 for c1,
                           c2 in zip(target_rgb, current_rgb))
            if distance < min_distance:
                min_distance = distance
                closest_color = color['name']

        return closest_color

    def get_color_by_name(self, name):
        """
        Returns the hex and RGB values of a color based on its name.

        Parameters:
            name (str): The name of the color to look up (e.g., "red").

        Returns:
            dict: A dictionary containing:
                - 'Name' (str): The color name in title case.
                - 'Hex' (str): The uppercase hex value (e.g., "#FF0000").
                - 'RGB' (tuple): The RGB values (e.g., (255, 0, 0)).
        """
        name = name.lower()
        for color in self.color_list:
            if color['name'].lower() == name:
                hex_value = color['hex'].upper()
                rgb_value = self.hex_to_rgb(color['hex'])
                return {
                    'Name': color['name'].title(),
                    'Hex': hex_value,
                    'RGB': rgb_value
                }
        return None