Parse colour characyers properly