Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chinnybloke

macrumors newbie
Original poster
Sep 6, 2008
8
0
I have an app with view background colors of the Cayenne standard color from the crayon selection options. I would like to change the background color of a view showing a grouped tableview. I know how to do this programmatically by setting the RGB values (and can set it to any color I like), but how do I find what the RGB values are of the standard Cayenne color to make it the same? The reason I need to do it programmatically is I cannot seem to get the view to change its background color in IB when a tableview is on the view.


Thanks,
CB
 
You won't have much luck doing screen grabs to determine colors since the images are all antialiased.

In IB select the color you want from the crayons palette, like Cayenne. Then switch the color picker to RGB Sliders and you can read the values. Cayenne is 128/0/0.
 
Thanks for this but when i switch to slider view I only see grayscale slider, brightness and opacity. I am not sure where you mean to look

In IB select the color you want from the crayons palette, like Cayenne. Then switch the color picker to RGB Sliders and you can read the values. Cayenne is 128/0/0.
 
Thanks for this but when i switch to slider view I only see grayscale slider, brightness and opacity. I am not sure where you mean to look

Click the popup that says "Gray Scale Slider".

Choose "RGB Sliders".

Observe 3 sliders appear: Red, Green, Blue.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.