On some operating systems it is possible to customize selection colours and other GUI colours. I have set yellow for mine:

enter image description here

Is it possible to retrieve this colour in Mathematica, so that it can be used in custom GUI construction?

  • $\begingroup$ On what operating system(s) do you need to do it? $\endgroup$ – MarcoB Apr 12 '19 at 18:43
  • $\begingroup$ @MarcoB I somehow managed to phrase the answer while trying to respond to your comment ... posting now. $\endgroup$ – Szabolcs Apr 12 '19 at 18:47
  • $\begingroup$ Hehe, Socratic method for the win :-) (+1) $\endgroup$ – MarcoB Apr 12 '19 at 18:49
  • $\begingroup$ @MarcoB To be accurate, it seems it might be possible in 12.0 using CurrentValue["SystemColors"]. The documentation is already online, but this can't be expected to work reliably in the cloud (which is the public way to run 12.0 today) $\endgroup$ – Szabolcs Apr 12 '19 at 18:51

Since version 12.0, this is possible using


See CurrentValue under Details.

On my system I get

enter image description here

| improve this answer | |
  • $\begingroup$ Is it possible to use this to set these colors? $\endgroup$ – b3m2a1 Apr 20 '19 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.