I am using this code:
#define MAATTACHEDWINDOW_DEFAULT_BACKGROUND_COLOR [NSColor colorWithCalibratedRed:59 green:89 blue:152 alpha:0.75]
And trying to obtain a background color using RGB but it’s giving me the color white. What did I do wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The values you have passed in are incorrect for what it expects; they have to be between 0 and 1. Anything above 1 is set to 1.0.