Added stripColor function