filter color escape strings in param value