Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I change the default highlight colour in Sublime Text 2? I know I have to find a highlight key in one of the theme files but I don't know where these theme files are kept. Are they in the library somewhere?

share|improve this question
up vote 7 down vote accepted

Found the theme files in this directory:

~/Library/Application Support/Sublime Text 2/Packages/Color Scheme - Default/(name_of_theme)

You can see which theme you are using by going to (from within Sublime Text 2)

Sublime Text 2 menu>Preferences>Colour Scheme

and see which one is ticked.

Open the theme file and find the key that says:


not one of the highlight keys.

Go to a site that shows hex colour codes (like this one and find the code for the colour you want. Then sub your new colour code into the line below the selection key in the theme file, replacing the old hex colour code.

Save the modified theme file and it should work straight away.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.