FIxing a bug for color manipulation.