How to see RGB values for colors in color selector?

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

  1. macrumors newbie

    Joined:
    Sep 6, 2008
    #1
    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
     
  2. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #2
    Assuming you have an image of this colour on your screen try using Pixie from the developer tools.
     
  3. macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #3
    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. thread starter macrumors newbie

    Joined:
    Sep 6, 2008
    #4
    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. macrumors 603

    Joined:
    Aug 9, 2009
    #5
    Click the popup that says "Gray Scale Slider".

    Choose "RGB Sliders".

    Observe 3 sliders appear: Red, Green, Blue.
     

Share This Page