platform-independent replaceColors