clamp

open override fun clamp(): Color

Return a copy of this color with all component values in their reference range.

No gamut mapping is performed: out-of-gamut values are truncated.