PyCharm
 
Get PyCharm

Colors and fonts

Last modified: 13 January 2025

As a developer, you work with a lot of text resources: the source code in the editor, search results, debugger information, console input and output, and so on. Color and font styles are used to format this text and help you better understand it at a glance.

PyCharm lets you choose between configurable color schemes that define colors and fonts used in IDE text.

Light editor scheme

You can use a predefined color scheme or customize it to your liking. It is also possible to share schemes.

Among the predefined color schemes are:

  • High Contrast: designed for the High contrast interface theme (recommended for users with sight deficiency)

  • Classic Light: designed for the macOS Light and Windows 10 Light interface themes

  • Darcula: designed for the Darcula interface theme

You can customize a predefined color scheme, but it is recommended that you create a duplicate for your custom color and font settings:

To define color and font settings, open the Editor | Color Scheme settings page  CtrlAlt0S.

Language Defaults section under Color Scheme settings

The settings under Editor | Color Scheme are separated into sections. For example, the General section defines basic editor colors, such as the gutter, line numbers, errors, warnings, popups, hints, and so on. The Language Defaults section contains common syntax highlighting settings, which are applied to all supported programming languages by default.

In most cases, it is sufficient to configure Language Defaults and make adjustments for specific languages if necessary. To change inherited color settings for an element, clear the Inherit values from checkbox.