hct library Null safety
Classes
- HctColor
- HCT, hue, chroma, and tone. A color system that provides a perceptually accurate color measurement system that can also accurately render what colors will appear as in different lighting environments.
Constants
- lightnessSearchEndpoint → const double
-
When the delta between the floor & ceiling of a binary search for J,
lightness in CAM16, is less than this, the binary search terminates.
0.01
Functions
-
findCamByJ(
double hue, double chroma, double lstar, ViewingConditions frame) → Cam16? -
getInt(
double hue, double chroma, double lstar) → int -
getIntInViewingConditions(
{required double hue, required double chroma, required double lstar, required ViewingConditions frame}) → int