If tooling would simply use the Base16 Framework[0] instead of arbitrary colors from “256 color” or “RGB” color modes, this would be much less of a problem: the output would always be displayed with (presumably) readable colors defined by your terminal.
[0] https://github.com/chriskempson/base16
[1] https://tinted-theming.github.io/base16-gallery/