Added chages to check if # is a hex