Console colors
You can configure font and color schemes for the background, input, and output of CLion consoles.
Press to open settings and then select Editor | Color Scheme | Console Colors.
Select the component and adjust the settings in the right-hand pane: