lstarFromArgb static method
- int argb
Computes the L* value of a color in ARGB representation.
argb
ARGB representation of a color
Returns L*, from Lab*, coordinate of the color
Implementation
static double lstarFromArgb(int argb) {
final y = xyzFromArgb(argb)[1];
return 116.0 * _labF(y / 100.0) - 16.0;
}