use strtok to parse the color fields