I want to have an application I'm writing mirror the color and transparency set for the OS X menubar, but there doesn't seem to be any way to find the exact values besides trial and error.

Does anyone have a complete listing, for all four possible combinations of enabled/disabled dark mode and transparency?

Edit: I'm trying to find the rgba values of the menu bar background color for each of the four possible combinations


You can use /Applications/Utilities/Digital\ Color\ Meter.app to get the RGB value of any pixel shown on your monitor.

enter image description here

| improve this answer | |
  • That does not help me find the color of the menu bar background because of its transparency. – Dominik Lohmann Feb 22 '16 at 15:30
  • Don't the RGB values in transparency mode depend on the desktop background/picture you are using? – nohillside Feb 22 '16 at 15:48
  • Yes, but I want my application to work regardless of the desktop background picture set. – Dominik Lohmann Feb 22 '16 at 16:15
  • How can you know this beforehand then? – nohillside Feb 22 '16 at 16:20
  • It's why I'm asking for the ARGB value of the menubar background (depending on transparency/dark mode settings) - so I can have my application result in the same color when over the same desktop background picture. – Dominik Lohmann Feb 22 '16 at 16:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .