I think that since you were not able to flash the firmware with changes in the color scheme, you have the driver for the firmware mode through dfu installed incorrectly. When connecting again, how is the device defined in the device manager?
What is the bit depth of the operating system, and the Windows system itself?
stm32 cannot be corrupted, since the bootloader is permanently sewn, and it is impossible to change or erase it.