The problems seems to have gone.
Installed rainbow-mode.
Colors that fit the terminal colors.