Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I would like for the content of a Web page to follow the color scheme of the user's system. For example, if they are using a GTK- or QT-based Web browser, the background of the Web site would match the color of the background color in GTK or QT applications. Is there a way to set the color scheme of the Web page to match the user's system color scheme?

share|improve this question

closed as off-topic by Scott, Matt, ckpepper02, DA01, JohnB Jan 27 at 18:18

  • This question does not appear to be about graphic design within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

2  
This question appears to be off-topic. Try posting either on Super User or Stack Overflow –  ckpepper02 Jan 27 at 15:01
add comment

1 Answer

Only way to do that is by using deprecated CSS2 color value.

In your example background color would be as follows:

background-color: Background

Here is a full specification from W3.org: http://www.w3.org/TR/css3-color/#css-system

If you write CSS3 or you want your application to be future-proof you shouldn't use these values. Also note that some of them might be available only on Windows.

share|improve this answer
1  
huh. I never knew that was even an option. Interesting! –  DA01 Jan 27 at 16:14
    
Yea, it's something you never use in a styling of a websites, so no surprise really :) Ages ago I had a client who wanted to have his website done in Windows '95 style (complete shit - even more so as we were in XP age back then) - so that's how I learnt about that. –  MarcinWolny Jan 28 at 12:03
add comment

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