If you use the default color setting (white), then you can't change the taskbar color properly. You must change the color setting to custom and set Windows to dark mode and applications to white. This way it works exactly like in Windows 7/8. Whatever color you choose that goes for the taskbar as well.
Samsung SSD 850 EVO 250GB SATA Device (250 GB, SATA-III)
Internet Speed
VDSL 50 Mbps
Browser
MICROSOFT EDGE
Antivirus
WINDOWS DEFENDER
Other Info
Legacy MBR installation, no TPM, no Secure Boot, no WDDM 2.0 graphics drivers, no SSE4.2, cannot get more unsupported ;) This is only my test laptop. I had installed Windows 11 here before upgrading my main PC. For my main PC I use everyday see my 2nd system specs.
I thought you mean to change the background taskbar color. As far as I know the icons are white on dark theme and black on light theme, I don't know if there is any way to change this.
Samsung SSD 850 EVO 250GB SATA Device (250 GB, SATA-III)
Internet Speed
VDSL 50 Mbps
Browser
MICROSOFT EDGE
Antivirus
WINDOWS DEFENDER
Other Info
Legacy MBR installation, no TPM, no Secure Boot, no WDDM 2.0 graphics drivers, no SSE4.2, cannot get more unsupported ;) This is only my test laptop. I had installed Windows 11 here before upgrading my main PC. For my main PC I use everyday see my 2nd system specs.