Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of Windows 7 System default colors for controls

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.

like image 675
Kiang Teng Avatar asked Nov 25 '10 08:11

Kiang Teng


2 Answers

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).

like image 56
Quppa Avatar answered Sep 23 '22 22:09

Quppa


Does the SystemColors class help?

like image 30
Rob Fonseca-Ensor Avatar answered Sep 25 '22 22:09

Rob Fonseca-Ensor