Skip to content

color.py

rerun._rerun2.components.color

class Color

An RGBA color tuple with unmultiplied/separate alpha, in sRGB gamma space with linear alpha.

Float colors are assumed to be in 0-1 gamma sRGB space. All other colors are assumed to be in 0-255 gamma sRGB space. If there is an alpha, we assume it is in linear space, and separate (NOT pre-multiplied).