public static function calculateLuminance($color)
	{
		$rgb = static::getMixedColorAsRgb($color);
		if ($rgb === false) return false;

		return 0.2126 * $rgb[0] + 0.7152 * $rgb[1] + 0.0722 * $rgb[2];
	}