Parses a color string into RGB format to be send to a Spark Core via the Spark Cloud API.