added invert color for code