withTone

fun withTone(newTone: Double): Hct

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

Parameters

newTone

0 <= newTone <= 100; invalid valids are corrected.