Convert a linear RGB triple to sRGB/display encoding.
- Parameters:
color (Sequence[float] | ndarray) – Linear RGB values. Negative components are clamped to zero
before conversion.
- Returns:
sRGB/display-encoded RGB triple.
- Return type:
tuple[float, float, float]