Gem for a converting a string to hexadecimal color code