Support the NSCoding protocol for easy save/restore.
Handle the case where the color is nil.