split markup from color into color and text