Determines color brightness.