So, I figured out how to code changing the color of a color well ” an amazing feat in itself given my confusion with this language. But it doesn’t’ work quite like it should so I must be making an error.
property refUIEditColorTextColor : missing value -- connected to the color well on the interface
log {r,g,b}
-- result = {191,38,0}
set recColor to NSColor's colorWithCalibratedRed_green_blue_alpha_(r,g,b,1)
tell refUIEditColorTextColor to setColor_(recColor)
The good news is that this DOES change the color of the well… The bad news is that it makes it a yellowish color and if I set the sliders in directly in the interface to 191, 38, 0 it is a reddish color.
What might cause this mis-coloration?