8
votes

Could you help me figure out how to change terminal font color in PyCharm. I want to set my terminal color scheme in PyCharm, such that I will have black text on light background (white or light yellow for example). I changed "Console Colors" settings, such as Background, Standard output, and System output, under Editor > Colors & Fonts > Console Colors, but I keep running into the same problem. If I change Background color to let's say white. It also changes text (Standard output and my user input to the same color). I can't figure out, which setting controls the color of the font, which appears in the terminal window. In fact, it appears that font color is the same as background color, which is confusing to me. I would expect to be able to independently control background color, and font color, which to me represents "Foreground".

<my terminal window screen shot

Thank you in advance for your help and suggestions.

3

3 Answers

3
votes

Changing colour in

Preferences->Editor->Color Scheme->Console Colors->Standard Output

should change the terminal font's colour.

1
votes

I suppose it happened on Windows. If yes then it is affected/controlled by Windows registry. Try one of the following method:

  1. Open Windows cmd and from drop down menu selects defaults. Then change the Text and Background colors to match your choice in PyCharm. The problem occurs if you have different color settings in Windows cmd instead of default.
  2. Delete HKEY_CURRENT_USER\Console key from Windows registry.

More information available on this link

0
votes

To configure color and font scheme for consoles

  1. Make sure you are working with an editable scheme.
  2. Open the IDE Settings, and under Colors&Fonts, scroll through the list of components, and select the ones related to consoles:

    • Console Colors
    • Console Fonts
  3. In the right-hand pane, click the desired component in the list, and change color settings and font type: See Image of how to do it