Reputation: 1705
I'm trying to match my application's custom controls colors to the ones used in Windows 7. However, I cannot seem to find a complete list of all colors used by Windows 7. Is there a built in class containing these colors, or do I have to use a color picker for every control I want to style.
Upvotes: 5
Views: 5373
Reputation: 1913
If anyone's interested in seeing the system colours for different themes at a glance, I've created a reference here.
Use these functions and classes and set your application's colours dynamically: GetSysColor function (Win32), System.Windows.SystemColors class (Windows Presentation Foundation), System.Drawing.SystemColors class (Windows Forms).
Upvotes: 8