solveToCam static method

Cam16 solveToCam(
  1. double hueDegrees,
  2. double chroma,
  3. double lstar
)

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

Implementation

@pragma("wasm:prefer-inline")
@pragma("vm:prefer-inline")
@pragma("dart2js:prefer-inline")
static Cam16 solveToCam(double hueDegrees, double chroma, double lstar) =>
    Cam16.fromInt(solveToInt(hueDegrees, chroma, lstar));