The color swatch “Replace” Option may appear to work, until you re-select that color… It’s still the previous (or first) color.
There’s a chance it’s been fixed since, but I haven’t checked.
Nightly Build Jun 8 2022
Operating System: Windows 10 Version 2009
CPU Architecture: x86_64
Qt Version: 5.15.2