Companion

object Companion

Functions

Link copied to clipboard
fun getRotatedHue(sourceColorHct: Hct, hues: DoubleArray, rotations: DoubleArray): Double

Given a set of hues and set of hue rotations, locate which hues the source color's hue is between, apply the rotation at the same index as the first hue in the range, and return the rotated hue.