I am creating a theme for windows to replicate certain versions of the os but unfortunately the window frames look normal in the theme preview but when you apply it, it looks darker or discolored and it kills me to see this one thing stop me from going any further. Does anyone know how to fix this?

Hecc even the caption buttons are discolored as well! I was also creating a windows 98 SE theme with that gradient title bar but the color was also darkened and discolored!