def foo

  colors = [
    {
      name: 'aliceblue',
      code: 'f0f8ff'
    },
    {
      name: 'alizarin',
      code: 'e74c3c'
    },
    {
      name: 'amethyst',
      code: '9b59b6'
    },
    {
      name: 'antiquewhite',
      code: 'faebd7'
    },
    {
      name: 'aqua',
      code: '00ffff'
    },
    {
      name: 'aquamarine',
      code: '7fffd4'
    },
    {
      name: 'asbestos',
      code: '7f8c8d'
    },
    {
      name: 'azure',
      code: 'f0ffff'
    },
    {
      name: 'beige',
      code: 'f5f5dc'
    },
    {
      name: 'belizehole',
      code: '2980b9'
    },
    {
      name: 'bisque',
      code: 'ffe4c4'
    },
    {
      name: 'black',
      code: '000000'
    },
    {
      name: 'blanchedalmond',
      code: 'ffebcd'
    },
    {
      name: 'blue',
      code: '0000ff'
    },
    {
      name: 'blueviolet',
      code: '8a2be2'
    },
    {
      name: 'brown',
      code: 'a52a2a'
    },
    {
      name: 'buff',
      code: 'F0DC82'
    },
    {
      name: 'burlywood',
      code: 'deb887'
    },
    {
      name: 'cadetblue',
      code: '5f9ea0'
    },
    {
      name: 'carrot',
      code: 'e67e22'
    },
    {
      name: 'chartreuse',
      code: '7fff00'
    },
    {
      name: 'chocolate',
      code: 'd2691e'
    },
    {
      name: 'clouds',
      code: 'ecf0f1'
    },
    {
      name: 'concrete',
      code: '95a5a6'
    },
    {
      name: 'coral',
      code: 'ff7f50'
    },
    {
      name: 'cornflowerblue',
      code: '6495ed'
    },
    {
      name: 'cornsilk',
      code: 'fff8dc'
    },
    {
      name: 'crimson',
      code: 'dc143c'
    },
    {
      name: 'cyan',
      code: '00ffff'
    },
    {
      name: 'darkblue',
      code: '00008b'
    },
    {
      name: 'darkbrown',
      code: '5C4033'
    },
    {
      name: 'darkbuff',
      code: '976638'
    },
    {
      name: 'darkcyan',
      code: '008b8b'
    },
    {
      name: 'darkgold',
      code: 'EEBC1D'
    },
    {
      name: 'darkgoldenrod',
      code: 'b8860b'
    },
    {
      name: 'darkgray',
      code: '404040'
    },
    {
      name: 'darkgreen',
      code: '006400'
    },
    {
      name: 'darkgrey',
      code: 'a9a9a9'
    },
    {
      name: 'darkivory',
      code: 'F2E58F'
    },
    {
      name: 'darkkhaki',
      code: 'bdb76b'
    },
    {
      name: 'darkmagenta',
      code: '8b008b'
    },
    {
      name: 'darkmustard',
      code: '7C7C40'
    },
    {
      name: 'darkolivegreen',
      code: '556b2f'
    },
    {
      name: 'darkorange',
      code: 'ff8c00'
    },
    {
      name: 'darkorchid',
      code: '9932cc'
    },
    {
      name: 'darkpink',
      code: 'E75480'
    },
    {
      name: 'darkred',
      code: '8b0000'
    },
    {
      name: 'darksalmon',
      code: 'e9967a'
    },
    {
      name: 'darksilver',
      code: 'AFAFAF'
    },
    {
      name: 'darkseagreen',
      code: '8fbc8f'
    },
    {
      name: 'darkslateblue',
      code: '483d8b'
    },
    {
      name: 'darkslategray',
      code: '2f4f4f'
    },
    {
      name: 'darkslategrey',
      code: '2f4f4f'
    },
    {
      name: 'darkturquoise',
      code: '00ced1'
    },
    {
      name: 'darkviolet',
      code: '9400d3'
    },
    {
      name: 'darkyellow',
      code: 'FFCC00'
    },
    {
      name: 'deeppink',
      code: 'ff1493'
    },
    {
      name: 'deepskyblue',
      code: '00bfff'
    },
    {
      name: 'dimgray',
      code: '696969'
    },
    {
      name: 'dimgrey',
      code: '696969'
    },
    {
      name: 'dodgerblue',
      code: '1e90ff'
    },
    {
      name: 'emerald',
      code: '2ecc71'
    },
    {
      name: 'firebrick',
      code: 'b22222'
    },
    {
      name: 'floralwhite',
      code: 'fffaf0'
    },
    {
      name: 'forestgreen',
      code: '228b22'
    },
    {
      name: 'fuchsia',
      code: 'ff00ff'
    },
    {
      name: 'gainsboro',
      code: 'dcdcdc'
    },
    {
      name: 'ghostwhite',
      code: 'f8f8ff'
    },
    {
      name: 'gold',
      code: 'ffd700'
    },
    {
      name: 'goldenrod',
      code: 'daa520'
    },
    {
      name: 'gray',
      code: '808080'
    },
    {
      name: 'green',
      code: '008000'
    },
    {
      name: 'greensea',
      code: '16a085'
    },
    {
      name: 'greenyellow',
      code: 'adff2f'
    },
    {
      name: 'grey',
      code: '808080'
    },
    {
      name: 'honeydew',
      code: 'f0fff0'
    },
    {
      name: 'hotpink',
      code: 'ff69b4'
    },
    {
      name: 'indianred',
      code: 'cd5c5c'
    },
    {
      name: 'indigo',
      code: '4b0082'
    },
    {
      name: 'ivory',
      code: 'fffff0'
    },
    {
      name: 'khaki',
      code: 'f0e68c'
    },
    {
      name: 'lavender',
      code: 'e6e6fa'
    },
    {
      name: 'lavenderblush',
      code: 'fff0f5'
    },
    {
      name: 'lawngreen',
      code: '7cfc00'
    },
    {
      name: 'lemonchiffon',
      code: 'fffacd'
    },
    {
      name: 'lightblack',
      code: '808080'
    },
    {
      name: 'lightblue',
      code: 'add8e6'
    },
    {
      name: 'lightbrown',
      code: '9966FF'
    },
    {
      name: 'lightbuff',
      code: 'ECD9B0'
    },
    {
      name: 'lightcoral',
      code: 'f08080'
    },
    {
      name: 'lightcyan',
      code: 'e0ffff'
    },
    {
      name: 'lightgold',
      code: 'F1E5AC'
    },
    {
      name: 'lightgoldenrod',
      code: 'FFEC8B'
    },
    {
      name: 'lightgoldenrodyellow',
      code: 'fafad2'
    },
    {
      name: 'lightgray',
      code: 'd3d3d3'
    },
    {
      name: 'lightgreen',
      code: '90ee90'
    },
    {
      name: 'lightgrey',
      code: 'd3d3d3'
    },
    {
      name: 'lightivory',
      code: 'FFF8C9'
    },
    {
      name: 'lightmagenta',
      code: 'FF77FF'
    },
    {
      name: 'lightmustard',
      code: 'EEDD62'
    },
    {
      name: 'lightorange',
      code: 'D9A465'
    },
    {
      name: 'lightpink',
      code: 'ffb6c1'
    },
    {
      name: 'lightred',
      code: 'FF3333'
    },
    {
      name: 'lightsalmon',
      code: 'ffa07a'
    },
    {
      name: 'lightseagreen',
      code: '20b2aa'
    },
    {
      name: 'lightsilver',
      code: 'E1E1E1'
    },
    {
      name: 'lightskyblue',
      code: '87cefa'
    },
    {
      name: 'lightslategray',
      code: '778899'
    },
    {
      name: 'lightslategrey',
      code: '778899'
    },
    {
      name: 'lightsteelblue',
      code: 'b0c4de'
    },
    {
      name: 'lightturquoise',
      code: 'AFE4DE'
    },
    {
      name: 'lightviolet',
      code: '7A5299'
    },
    {
      name: 'lightyellow',
      code: 'ffffe0'
    },
    {
      name: 'lime',
      code: '00ff00'
    },
    {
      name: 'limegreen',
      code: '32cd32'
    },
    {
      name: 'linen',
      code: 'faf0e6'
    },
    {
      name: 'magenta',
      code: 'ff00ff'
    },
    {
      name: 'maroon',
      code: '800000'
    },
    {
      name: 'mediumaquamarine',
      code: '66cdaa'
    },
    {
      name: 'mediumblue',
      code: '0000cd'
    },
    {
      name: 'mediumorchid',
      code: 'ba55d3'
    },
    {
      name: 'mediumpurple',
      code: '9370db'
    },
    {
      name: 'mediumseagreen',
      code: '3cb371'
    },
    {
      name: 'mediumslateblue',
      code: '7b68ee'
    },
    {
      name: 'mediumspringgreen',
      code: '00fa9a'
    },
    {
      name: 'mediumturquoise',
      code: '48d1cc'
    },
    {
      name: 'mediumvioletred',
      code: 'c71585'
    },
    {
      name: 'midnightblue',
      code: '191970'
    },
    {
      name: 'midnightblack',
      code: '2c3e50'
    },
    {
      name: 'mintcream',
      code: 'f5fffa'
    },
    {
      name: 'mistyrose',
      code: 'ffe4e1'
    },
    {
      name: 'moccasin',
      code: 'ffe4b5'
    },
    {
      name: 'mustard',
      code: 'FFDB58'
    },
    {
      name: 'nephritis',
      code: '27ae60'
    },
    {
      name: 'navajowhite',
      code: 'ffdead'
    },
    {
      name: 'navy',
      code: '000080'
    },
    {
      name: 'oldlace',
      code: 'fdf5e6'
    },
    {
      name: 'olive',
      code: '808000'
    },
    {
      name: 'olivedrab',
      code: '6b8e23'
    },
    {
      name: 'orange',
      code: 'ffa500'
    },
    {
      name: 'orangered',
      code: 'ff4500'
    },
    {
      name: 'orchid',
      code: 'da70d6'
    },
    {
      name: 'palegoldenrod',
      code: 'eee8aa'
    },
    {
      name: 'palegreen',
      code: '98fb98'
    },
    {
      name: 'paleturquoise',
      code: 'afeeee'
    },
    {
      name: 'palevioletred',
      code: 'db7093'
    },
    {
      name: 'papayawhip',
      code: 'ffefd5'
    },
    {
      name: 'peachpuff',
      code: 'ffdab9'
    },
    {
      name: 'peterriver',
      code: '3498db'
    },
    {
      name: 'peru',
      code: 'cd853f'
    },
    {
      name: 'pink',
      code: 'ffc0cb'
    },
    {
      name: 'plum',
      code: 'dda0dd'
    },
    {
      name: 'pomegranate',
      code: 'c0392b'
    },
    {
      name: 'powderblue',
      code: 'b0e0e6'
    },
    {
      name: 'purple',
      code: '800080'
    },
    {
      name: 'pumpkin',
      code: 'd35400'
    },
    {
      name: 'rebeccapurple',
      code: '663399'
    },
    {
      name: 'red',
      code: 'ff0000'
    },
    {
      name: 'rosybrown',
      code: 'bc8f8f'
    },
    {
      name: 'royalblue',
      code: '4169e1'
    },
    {
      name: 'saddlebrown',
      code: '8b4513'
    },
    {
      name: 'salmon',
      code: 'fa8072'
    },
    {
      name: 'sandybrown',
      code: 'f4a460'
    },
    {
      name: 'seagreen',
      code: '2e8b57'
    },
    {
      name: 'seashell',
      code: 'fff5ee'
    },
    {
      name: 'sienna',
      code: 'a0522d'
    },
    {
      name: 'quiksilver',
      code: 'bdc3c7'
    },
    {
      name: 'silver',
      code: 'c0c0c0'
    },
    {
      name: 'skyblue',
      code: '87ceeb'
    },
    {
      name: 'slateblue',
      code: '6a5acd'
    },
    {
      name: 'slategray',
      code: '708090'
    },
    {
      name: 'slategrey',
      code: '708090'
    },
    {
      name: 'snow',
      code: 'fffafa'
    },
    {
      name: 'springgreen',
      code: '00ff7f'
    },
    {
      name: 'steelblue',
      code: '4682b4'
    },
    {
      name: 'sunflower',
      code: 'f1c40f'
    },
    {
      name: 'tan',
      code: 'd2b48c'
    },
    {
      name: 'teal',
      code: '008080'
    },
    {
      name: 'thistle',
      code: 'd8bfd8'
    },
    {
      name: 'tomato',
      code: 'ff6347'
    },
    {
      name: 'turquoise',
      code: '40e0d0'
    },
    {
      name: 'violet',
      code: 'ee82ee'
    },
    {
      name: 'wetasphalt',
      code: '34495e'
    },
    {
      name: 'wisteria',
      code: '8e44ad'
    },
    {
      name: 'wheat',
      code: 'f5deb3'
    },
    {
      name: 'white',
      code: 'ffffff'
    },
    {
      name: 'whitesmoke',
      code: 'f5f5f5'
    },
    {
      name: 'yellow',
      code: 'ffff00'
    },
    {
      name: 'yellowgreen',
      code: '9acd32'
    },
    {
      name: 'beekeeper',
      code: 'f6e58d'
    },
    {
      name: 'spiced nectarine',
      code: 'ffbe76'
    },
    {
      name: 'pink glamour',
      code: 'ff7979'
    },
    {
      name: 'june bud',
      code: 'badc58'
    },
    {
      name: 'coastal breeze',
      code: 'dff9fb'
    },
    {
      name: 'turbo',
      code: 'f9ca24'
    },
    {
      name: 'quince jelly',
      code: 'f0932b'
    },
    {
      name: 'carmine pink',
      code: 'eb4d4b'
    },
    {
      name: 'pure apple',
      code: '6ab04c'
    },
    {
      name: 'hint of ice pack',
      code: 'c7ecee'
    },
    {
      name: 'middle blue',
      code: '7ed6df'
    },
    {
      name: 'heliotrope',
      code: 'e056fd'
    },
    {
      name: 'exodus fruit',
      code: '686de0'
    },
    {
      name: 'deep koamaru',
      code: '30336b'
    },
    {
      name: 'soaring eagle',
      code: '95afc0'
    },
    {
      name: 'greenland green',
      code: '22a6b3'
    },
    {
      name: 'steel pink',
      code: 'be2edd'
    },
    {
      name: 'blurple',
      code: '4834d4'
    },
    {
      name: 'deep cove',
      code: '130f40'
    },
    {
      name: 'wizard grey',
      code: '535c68'
    },
    {
      name: 'highlighter pink',
      code: 'ef5777'
    },
    {
      name: 'dark periwinkle',
      code: '575fcf'
    },
    {
      name: 'megaman',
      code: '4bcffa'
    },
    {
      name: 'fresh turquoise',
      code: '34e7e4'
    },
    {
      name: 'minty green',
      code: '0be881'
    },
    {
      name: 'sizzling red',
      code: 'f53b57'
    },
    {
      name: 'free speech blue',
      code: '3c40c6'
    },
    {
      name: 'spiro disco ball',
      code: '0fbcf9'
    },
    {
      name: 'jade dust',
      code: '00d8d6'
    },
    {
      name: 'green teal',
      code: '05c46b'
    },
    {
      name: 'narenji orange',
      code: 'ffc048'
    },
    {
      name: 'yriel yellow',
      code: 'ffdd59'
    },
    {
      name: 'sunset orange',
      code: 'ff5e57'
    },
    {
      name: 'hint of elusive blue',
      code: 'd2dae2'
    },
    {
      name: 'good night',
      code: '485460'
    },
    {
      name: 'chrome yellow',
      code: 'ffa801'
    },
    {
      name: 'vibrant yellow',
      code: 'ffd32a'
    },
    {
      name: 'red orange',
      code: 'ff3f34'
    },
    {
      name: 'london square',
      code: '808e9b'
    },
    {
      name: 'black pearl',
      code: '1e272e'
    },
    {
      name: 'flat flesh',
      code: 'fad390'
    },
    {
      name: 'melon melody',
      code: 'f8c291'
    },
    {
      name: 'livid',
      code: '6a89cc'
    },
    {
      name: 'spray',
      code: '82ccdd'
    },
    {
      name: 'paradise green',
      code: 'b8e994'
    },
    {
      name: 'squash blossom',
      code: 'f6b93b'
    },
    {
      name: 'mandarin red',
      code: 'e55039'
    },
    {
      name: 'azraq blue',
      code: '4a69bd'
    },
    {
      name: 'dupain',
      code: '60a3bc'
    },
    {
      name: 'aurora green',
      code: '78e08f'
    },
    {
      name: 'iceland poppy',
      code: 'fa983a'
    },
    {
      name: 'tomato red',
      code: 'eb2f06'
    },
    {
      name: 'good samaritan',
      code: '3c6382'
    },
    {
      name: 'waterfall',
      code: '38ada9'
    },
    {
      name: 'carrot orange',
      code: 'e58e26'
    },
    {
      name: 'jalapeno red',
      code: 'b71540'
    },
    {
      name: 'dark sapphire',
      code: '0c2461'
    },
    {
      name: 'forest blues',
      code: '0a3d62'
    },
    {
      name: 'reef encounter',
      code: '079992'
    },
    {
      name: 'jigglypuff',
      code: 'ff9ff3'
    },
    {
      name: 'casandora yellow',
      code: 'feca57'
    },
    {
      name: 'pastel red',
      code: 'ff6b6b'
    },
    {
      name: 'megaman',
      code: '48dbfb'
    },
    {
      name: 'wild caribbean green',
      code: '1dd1a1'
    },
    {
      name: 'lotus pink',
      code: 'f368e0'
    },
    {
      name: 'double dragon skin',
      code: 'ff9f43'
    },
    {
      name: 'amour',
      code: 'ee5253'
    },
    {
      name: 'cyanite',
      code: '0abde3'
    },
    {
      name: 'dark mountain meadow',
      code: '10ac84'
    },
    {
      name: 'jade dust',
      code: '00d2d3'
    },
    {
      name: 'joust blue',
      code: '54a0ff'
    },
    {
      name: 'nasu purple',
      code: '5f27cd'
    },
    {
      name: 'light blue ballerina',
      code: 'c8d6e5'
    },
    {
      name: 'fuel town',
      code: '576574'
    },
    {
      name: 'aqua velvet',
      code: '01a3a4'
    },
    {
      name: 'bleu de france',
      code: '2e86de'
    },
    {
      name: 'bluebell',
      code: '341f97'
    },
    {
      name: 'storm petrel',
      code: '8395a7'
    },
    {
      name: 'imperial primer',
      code: '222f3e'
    },
    {
      name: 'orchid orange',
      code: 'fea47f'
    },
    {
      name: 'spiro disco ball',
      code: '25ccf7'
    },
    {
      name: 'honey glow',
      code: 'eab543'
    },
    {
      name: 'sweet garden',
      code: '55e6c1'
    },
    {
      name: 'falling star',
      code: 'cad3c8'
    },
    {
      name: 'rich gardenia',
      code: 'f97f51'
    },
    {
      name: 'clear chill',
      code: '1b9cfc'
    },
    {
      name: 'sarawak white pepper',
      code: 'f8efba'
    },
    {
      name: 'keppel',
      code: '58b19f'
    },
    {
      name: 'ships officer',
      code: '2c3a47'
    },
    {
      name: 'fiery fuchsia',
      code: 'b33771'
    },
    {
      name: 'bluebell',
      code: '3b3b98'
    },
    {
      name: 'georgia peach',
      code: 'fd7272'
    },
    {
      name: 'oasis stream',
      code: '9aecdb'
    },
    {
      name: 'bright ube',
      code: 'd6a2e8'
    },
    {
      name: 'magenta purple',
      code: '6d214f'
    },
    {
      name: 'ending navy blue',
      code: '182c61'
    },
    {
      name: 'sasquatch socks',
      code: 'fc427b'
    },
    {
      name: 'pine glade',
      code: 'bdc581'
    },
    {
      name: 'highlighter lavender',
      code: '82589f'
    },
    {
      name: 'bright lilac',
      code: 'cd84f1'
    },
    {
      name: 'pretty please',
      code: 'ffcccc'
    },
    {
      name: 'light red',
      code: 'ff4d4d'
    },
    {
      name: 'mandarin sorbet',
      code: 'ffaf40'
    },
    {
      name: 'unmellow yellow',
      code: 'fffa65'
    },
    {
      name: 'light purple',
      code: 'c56cf0'
    },
    {
      name: 'young salmon',
      code: 'ffb8b8'
    },
    {
      name: 'red orange',
      code: 'ff3838'
    },
    {
      name: 'radiant yellow',
      code: 'ff9f1a'
    },
    {
      name: 'dorn yellow',
      code: 'fff200'
    },
    {
      name: 'wintergreen',
      code: '32ff7e'
    },
    {
      name: 'electric blue',
      code: '7efff5'
    },
    {
      name: 'neon blue',
      code: '18dcff'
    },
    {
      name: 'light slate blue',
      code: '7d5fff'
    },
    {
      name: 'shadowed steel',
      code: '4b4b4b'
    },
    {
      name: 'weird green',
      code: '3ae374'
    },
    {
      name: 'hammam blue',
      code: '67e6dc'
    },
    {
      name: 'spiro disco ball',
      code: '17c0eb'
    },
    {
      name: 'light indigo',
      code: '7158e2'
    },
    {
      name: 'baltic sea',
      code: '3d3d3d'
    },
    {
      name: 'sunflower',
      code: 'ffc312'
    },
    {
      name: 'energos',
      code: 'c4e538'
    },
    {
      name: 'blue martina',
      code: '12cbc4'
    },
    {
      name: 'lavender rose',
      code: 'fda7df'
    },
    {
      name: 'bara red',
      code: 'ed4c67'
    },
    {
      name: 'radiant yellow',
      code: 'f79f1f'
    },
    {
      name: 'android green',
      code: 'a3cb38'
    },
    {
      name: 'mediterranean sea',
      code: '1289a7'
    },
    {
      name: 'lavender tea',
      code: 'd980fa'
    },
    {
      name: 'very berry',
      code: 'b53471'
    },
    {
      name: 'puffins bill',
      code: 'ee5a24'
    },
    {
      name: 'pixelated grass',
      code: '009432'
    },
    {
      name: 'merchant marine blue',
      code: '0652dd'
    },
    {
      name: 'forgotten purple',
      code: '9980fa'
    },
    {
      name: 'hollyhock',
      code: '833471'
    },
    {
      name: 'red pigment',
      code: 'ea2027'
    },
    {
      name: 'turkish aqua',
      code: '006266'
    },
    {
      name: 'under the sea',
      code: '1b1464'
    },
    {
      name: 'circumorbital ring',
      code: '5758bb'
    },
    {
      name: 'magenta purple',
      code: '6f1e51'
    },
    {
      name: 'protoss pylon',
      code: '00a8ff'
    },
    {
      name: 'periwinkle',
      code: '9c88ff'
    },
    {
      name: 'rise-n-shine',
      code: 'fbc531'
    },
    {
      name: 'download progress',
      code: '4cd137'
    },
    {
      name: 'seabrook',
      code: '487eb0'
    },
    {
      name: 'vanadyl blue',
      code: '0097e6'
    },
    {
      name: 'matt purple',
      code: '8c7ae6'
    },
    {
      name: 'nanohanacha gold',
      code: 'e1b12c'
    },
    {
      name: 'skirret green',
      code: '44bd32'
    },
    {
      name: 'naval',
      code: '40739e'
    },
    {
      name: 'nasturcian flower',
      code: 'e84118'
    },
    {
      name: 'lynx white',
      code: 'f5f6fa'
    },
    {
      name: 'blueberry soda',
      code: '7f8fa6'
    },
    {
      name: 'mazarine blue',
      code: '273c75'
    },
    {
      name: 'blue nights',
      code: '353b48'
    },
    {
      name: 'harley davidson orange',
      code: 'c23616'
    },
    {
      name: 'hint of pensive',
      code: 'dcdde1'
    },
    {
      name: 'chain gang grey',
      code: '718093'
    },
    {
      name: 'pico void',
      code: '192a56'
    },
    {
      name: 'electromagnetic',
      code: '2f3640'
    }
  ]
end

