File | Settings | Editor | Color Scheme for Windows and Linux PyCharm | Preferences | Editor | Color Scheme for macOS Ctrl+Alt+S
Use this section to select the color scheme for the PyCharm editor.
Select the color scheme to be used in your workspace.
Click this button to invoke the following commands (depending on the selected scheme):
Duplicate: click to save the currently selected Color settings as a new scheme. Press Enter to save the new scheme, or Escape to cancel operation.
Restore Defaults: click to reset the selected color scheme to the initial defaults shipped with PyCharm. Available if a predefined color scheme has been selected and changed.
Export: click to export the current scheme to a file. The possible options are: IntelliJ IDEA color scheme in a .icls file, or color scheme plugin jar.
If the former option is selected, one should specify the target file in the Target File dialog.
If the latter option is selected, then at first one should specify the plugin information in the Create Color Scheme Plug-in dialog, and next specify the target file.
Rename: click to rename the current scheme. This command is only available for copies or imported schemes, since the predefined schemes cannot be renamed.
Delete: click to delete the current scheme. This command is only available for copies or imported schemes, since the predefined schemes cannot be deleted.
Import Scheme: click to import a PyCharm color scheme (you can either import a file in an internal .icls format, or a jar created through the File | Export Settings menu), or an Eclipse color scheme in the XML format.
Next, one has to select one of the categories listed in the left-hand side (for example, Language Defaults, Python or Cucumber node) or PyCharm UI component (for example, Debugger or Diff&Merge). In the right-hand side of the dialog (under the Scheme field), one should select an item of the respective language (for example, Keywords or Comments for the Language Defaults) or UI component (for example, Breakpoint line for the Debugger, or Deleted lines in Diff&Merge).