Change the colors used to display syntactic elements and errors in code.

Open the syntax coloring preferences

Choose and select Appearance and then Syntax Coloring:

Change the coloring of local variables

Choose Local Variables and click a color picker. Select a color and click OK to change the color:

Change the coloring of other syntactic elements

Use the Errors and Warnings and Other tabs to change other syntax colors: