Fix color preview drawing bug in Appearance. Fixes #9501

Also updated to use color constants intead of hardcoding colors. This draws a
nice 3d-ish bevelled border around the color preview box.