Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When customizing your theme, you can choose to have Windows automatically set colors. It seems to change automatically based on the background you choose. How does this work? Does it sense which colors are in your background image and do color math to figure out what the theme should be?

enter image description here

share|improve this question
It appears that the auto color feature only works when you have a background image (for solid color backgrounds it's grey), so it's likely determined by the desktop background image as described in Alexey Ivanov's answer. – idbrii Aug 5 '15 at 20:26

They analyze the desktop background image and select the color which used the most in the image.

It works the same way as Taskbar button highlights with the icon color in Windows 7 and 8.

share|improve this answer

Possibly the same solution as it is used in the fairly new iTunes album view. The algorithm by Seth Thompson scales down the image, followed by calculating the Euclidean distance between these pixels in YUV-colorspace. With these distances, the most n-dominant colors can be retrieved. For the color scheme like it is being used in Windows 8, one color will be sufficient. Follow the link for his implementation in Mathematica.

share|improve this answer

Whatever color appears the most. If you want to know what the theme color will be before switching just separate all the colors and put all of the same colors into globs. Whichever glob is the biggest is the color the theme will be.

share|improve this answer

I don't really know exactly how it works but I did find a way around it to where you can choose your own colors but still use the 'automatic' setting. Go to the background image you desire, and go to edit it in photoshop or mspaint or any picture editing software you have. on the bottom of the image, put a thin sliver of whatever color you want and then save it and set it as your background again. if it doesnt work, you might have to add more of the desired color to the bottom of the image, but eventually you get the color you want to appear on the 'automatic' setting

share|improve this answer

You must log in to answer this question.

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