How to see RGB values for colors in color selector?

Discussion in 'iOS Programming' started by chinnybloke, Aug 10, 2010.

  1. chinnybloke macrumors newbie

    Sep 6, 2008
    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.

  2. robbieduncan Moderator emeritus


    Jul 24, 2002
    Assuming you have an image of this colour on your screen try using Pixie from the developer tools.
  3. PhoneyDeveloper macrumors 68040


    Sep 2, 2008
    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.
  4. chinnybloke thread starter macrumors newbie

    Sep 6, 2008
    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

  5. chown33 macrumors 604

    Aug 9, 2009
    Sailing beyond the sunset
    Click the popup that says "Gray Scale Slider".

    Choose "RGB Sliders".

    Observe 3 sliders appear: Red, Green, Blue.

Share This Page