Re: standard colors
Re: standard colors
- Subject: Re: standard colors
- From: Alastair Houghton <email@hidden>
- Date: Sat, 17 Oct 2009 22:31:40 +0100
On 17 Oct 2009, at 21:32, Michael Cinkosky wrote:
Has Apple provided documentation on their standard source list
background color? I haven't found it in the HIG docs, or with
Google (I have not come up with the right terms to make the search
specific enough).
I have also tried just sampling the colors from the running
applications (Mail, iTunes) but this yields a value which, when
applied, looks quite different from what I sampled. Clearly I do
not understand how colors work.
When you sample colours, you get the values from the frame buffer.
However, when you *use* colours in Cocoa, they're subject to colour
management, so they're transformed according to the colour space for
the screen on which your window is (mostly) present before they're
written to the backing store.
Anyone know where to find the official values?
I'd be interested to know myself :-)
You can probably convert the values to the ones you need using
ColorSync Utility's "Calculator" feature; set the left hand side to
the colour profile for your display (which you can look up in the
Devices page), and the right hand side to "Generic RGB Profile", then
set the sliders to the colour you sampled. Hopefully the right hand
side will tell you the numbers you need.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden