corrected typos
added attr_readers for color values and moved methods in private section