Customize color of variable pycharm


  • Go to settings

  • Screenshot 2024-05-22 092320

  • Click Language Defaults under Color Scheme section

  • Screenshot 2024-05-22 092405

  • Then click the Identifiers

  • Now select any Identifiers and unselect inherit values from

  • Screenshot 2024-05-22 092419

  • Now we can change the color of the identifiers by clicking the foreground color and changing it