Module moog.observers.color_maps

Functions to transform between color spaces for rendering.

Functions

def hsv_to_rgb(c)
Expand source code
def hsv_to_rgb(c):
  """Convert HSV tuple to RGB tuple."""
  return tuple((255 * np.array(colorsys.hsv_to_rgb(*c))).astype(np.uint8))

Convert HSV tuple to RGB tuple.