noc.core.colors

Module Contents

noc.core.colors.get_colors(N)
Generate N contrast colors
>>> list(get_colors(1))
['#ff0000']
>>> list(get_colors(2))
['#ff0000', '#00ffff']
>>> list(get_colors(3))
['#00ff00', '#ff0000', '#0000ff']
>>> list(get_colors(4))
['#ff0000', '#00ffff', '#7fff00', '#7f00ff']
noc.core.colors.get_float_pallete(n)
Generate tuple of floats for reportlab colors