Using Pixie (an application available at the Downloads For Apple Developers Center under Downloads For Apple Developers โ Graphics Tools For Xcode ) and fetching a UITableViewCell display in the selected state with the selectionStyle property set to UITableViewCellSelectionStyleGray , sRGB values โโwere 0.85 for red , green and blue .
Multiplying by 255 (conversion to RGB) gives 216.75 for each. Using the RGB-to-HEX Conversion tool at http://www.javascripter.net/faq/rgbtohex.htm and entering 217 gives the hexadecimal value of D9D9D9 .
source share