Use a regex for splitting the color string passed to emitter constructor