extract colors flags and symbols