def hls_palette(n_colors=<NUM_LIT:6>, h=<NUM_LIT>, l=<NUM_LIT>, s=<NUM_LIT>):
hues = np.linspace(<NUM_LIT:0>, <NUM_LIT:1>, n_colors + <NUM_LIT:1>)[:-<NUM_LIT:1>]<EOL>hues += h<EOL>hues %= <NUM_LIT:1><EOL>hues -= hues.astype(int)<EOL>palette = [colorsys.hls_to_rgb(h_i, l, s) for h_i in hues]<EOL>return palette<EOL>
Get a set of evenly spaced colors in HLS hue space.

h, l, and s should be between 0 and 1

Parameters
----------

n_colors : int
    number of colors in the palette
h : float
    first hue
l : float
    lightness
s : float
    saturation

Returns
-------
palette : list
    List of colors as RGB hex strings.

See Also
--------
husl_palette : Make a palette using evenly spaced circular
    hues in the HUSL system.

Examples
--------
>>> len(hls_palette(2))
2
>>> len(hls_palette(9))
9