It looks like that's hard coded for both warnings and errors. Makes more sense to pull those colors from the Appearance -> Colors settings. I'll need to take a closer look to see if there's existing color names, or if there should just be a RTE section in the color setup, or something in between.
It's not hot-fixable, but I may be able to get it for the next point v25 point release.