At the bottom of Dustin's algorithm, he mentions all UIColor objects in iOS 5 and later now have
getHue:saturation:brightness:alpha:
This makes it very easy to get the values from a color. This is definitely the easiest solution now, and most everyone is on iOS 5.