withChroma

fun withChroma(newChroma: Double): Hct

Set the chroma of this color. Chroma may decrease because chroma has a different maximum for any given hue and tone.

Parameters

newChroma

0 <= newChroma < ?