iTunes 11-style color matching code for iOS