def set_horiz_bar_colors(barlist):
    """Set the horizontal bar colors.

    Color theme is Metro UI, with an emphasis on darker colors. If there are
    more horiz bars than in the color array, loop and continue to set colors.

    Args:
        barlist (list): List of the horizontal bars.
    """
    colors = ['#2d89ef', '#603cba', '#2b5797', '#008B8B', '#3145b4',
        '#36648B', '#38b0de', '#4d4dff', '#3299cc', '#7f00ff', '#03b4c8',
        '#5959ab']
    color_count = len(colors)
    for i, hbar in enumerate(barlist):
        color = colors[i % color_count]
        hbar.set_color(color)
