HctSolver

open class HctSolver

A class that solves the HCT equation.

Functions

Link copied to clipboard
open 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
open fun solveToInt(hueDegrees: Double, chroma: Double, lstar: Double): Int
Finds an sRGB color with the given hue, chroma, and L*, if possible.