bibliopixel.colors.make module

bibliopixel.colors.make.color(c)[source]
bibliopixel.colors.make.colors(c)[source]

Return a color Palette

bibliopixel.colors.make.colors_no_palette(colors=None, **kwds)[source]

Return a Palette but don’t take into account Pallete Names.

bibliopixel.colors.make.to_triplets(colors)[source]

Coerce a list into a list of triplets.

If colors is a list of lists or strings, return it as is. Otherwise, divide it into tuplets of length three, silently discarding any extra elements beyond a multiple of three.