Reputation: 6997
This muted blue grey color is all over the place, and I can't find a convenience color that looks even remotely close. Clearly I'm missing something obvious...
I'm trying to "fake" a stock look for a UIView that is my section footer for a UITableView. Has anyone else had any luck?
My UILabel will also need a white drop shadow.
Upvotes: 1
Views: 1443
Reputation: 6997
I'm not sure how Apple takes the RGB values and converts them to float (it would seem it's not a simple VALUE / 255), but the values that I got which when using the eyedropper in Photoshop gave the same RGB values were:
[UIColor colorWithRed:0.3025 green:0.3375 blue:0.425 alpha:1]
The other piece that has blown my mind, is that everyone got different RGB values! How does that happen?
Upvotes: 1
Reputation: 523334
Since you have already taken a snapshot, you could use a color picker to get the colors.
Upvotes: 0
Reputation: 6700
I believe the color used is [UIColor darkGrayColor].
Also, you can create your custom headers using
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
in the table view delegate.
Upvotes: 0