Fix RGB colors when parsing