luminance property
double
get
luminance
Get the luminance
Implementation
double get luminance {
final R = _linearizeColorComponent(red);
final G = _linearizeColorComponent(green);
final B = _linearizeColorComponent(blue);
return 0.2126 * R + 0.7152 * G + 0.0722 * B;
}