iTunes 11-style color matching code