added public attribute to current_color so that Gradient can access it