hcGetBrightness method
Returns Brightness of give Color
Implementation
double hcGetBrightness() => (red * 299 + green * 587 + blue * 114) / 1000;
Returns Brightness of give Color
double hcGetBrightness() => (red * 299 + green * 587 + blue * 114) / 1000;