add a getter and setter for nscolor