Below is a snippet of Objective-C code using the NSColor Class to set the background color of a textField.
Notice the color (a shade of blue) is set with float values for Red (0.1336), Green (0.5266), and Blue (1.0000). I opened Photoshop and I didn’t have much success finding a way to return RGB float values for displayed colors. I’m sure the feature is available. I’ll dig deeper when I have some time.
A while back I purchased a copy of iPalette Pro and tucked it away. This is a nifty design tool that supports custom color management and storage. It’s very well designed and fun to use. It’s another example of a $10 Mac Shareware gem.
Take a close look at the data located at the bottom of the RGB Test window. Exactly what I’m looking for: RGB float values.
I’m glad I bought iPalette Pro. It’s worth taking a look at …