argbFromLstar static method
- double lstar
Converts an L* value to an ARGB representation.
lstar
L* in Lab*
Returns ARGB representation of grayscale color with lightness
matching L*
Implementation
static int argbFromLstar(double lstar) {
final y = yFromLstar(lstar);
final component = delinearized(y);
return argbFromRgb(component, component, component);
}