From http://d.cocoachina.com/code/detail/152936/%E7%94%A8NSUserDefaults%E5%AD%98%E5%82%A8Color