HctSolver

object HctSolver

A class that solves the HCT equation.

Functions

Link copied to clipboard
fun solveToCam(hueDegrees: Double, chroma: Double, lstar: Double): Cam16

Finds an sRGB color with the given hue, chroma, and L*, if possible.

Link copied to clipboard
fun solveToInt(hueDegrees: Double, chroma: Double, lstar: Double): Int

Finds an sRGB color with the given hue, chroma, and L*, if possible.