string to int (colors)