multicolorfits.ryb_to_rgb#

multicolorfits.ryb_to_rgb(ryb)[source]#

Vectorized RYB -> sRGB conversion (Sugita & Takahashi 2017).

Parameters:

ryb (numpy.ndarray) – Array with last axis of length 3, values in [0, 1].

Returns:

numpy.ndarray – sRGB array of the same shape, values in [0, 1].