If i would have to guess its probably a bug with how the code editor is rendered.
Cheers for you effort btw. i’ll post the outputs in a sec 
Edit: here the the individual outputs in DataSpell, excuse the rather large image.

Screenshot from 2021-10-19 11-08-00485×1067 28.3 KB

Seems like they don’t have issues rendering the individual colors, no clue then.