Check if a color is perceived bright or not.
Calculate a color's luminance, which is a calculation for how bright it is perceived to be by the human eye.
A hex value representing this color as AARRGGBB, e.g. 0xFFFF0000 is red and 0xFF0000FF is blue.
Darken this color by some target percent value.
Lighten this color by some target percent value.