withChroma

abstract fun withChroma(chroma: Double): T(source)

Creates a new instance of the implementing type with the specified chroma value.

Return

A new instance of the implementing type with the updated chroma value.

Parameters

chroma

The chroma value for the new instance.