public static function hexToRgb($hexStr)
	{
		if (!static::validateHexString($hexStr)) return false;
		$hexStr = ltrim(trim($hexStr), '#');

		//create parts and make it six digit if it isnt already
		$parts = str_split($hexStr, strlen($hexStr) == 3 ? 1 : 2);
		if (strlen($hexStr) == 3) {
			foreach ($parts as $i=>$p) {
				$parts[$i] = str_repeat($p, 2);
			}
		}

		return [hexdec($parts[0]), hexdec($parts[1]), hexdec($parts[2])];
	}