eelbrain.plot.unambiguous_color

eelbrain.plot.unambiguous_color(color, lightness=None, chroma=None)

Generate an unambiguous color

Parameters:
  • color (str) – Color name, one of: black, orange, sky blue, bluish green, yellow, blue, vermilion, reddish purple.

  • lightness (float) – Adjust the lightness (in percent).

  • chroma (float) – Adjust the saturation (in percent).