Use the same color conversion algorithm as the DIB code (and Windows),
[wine] / controls /
drwxr-xr-x   ..
-rw-r--r-- 21 .cvsignore
-rw-r--r-- 9107 EDIT.TODO
-rw-r--r-- 460 Makefile.in
-rw-r--r-- 32607 button.c
-rw-r--r-- 63726 combo.c
-rw-r--r-- 7077 desktop.c
-rw-r--r-- 138711 edit.c
-rw-r--r-- 6488 icontitle.c
-rw-r--r-- 105458 listbox.c
-rw-r--r-- 143904 menu.c
-rw-r--r-- 59010 scroll.c
-rw-r--r-- 15606 static.c
-rw-r--r-- 45611 uitools.c