How to set the text color and text foreground color in Emacs org-modePublish date: Jun 9, 2022
I wanted to change the text and background colors in Org-mode. I have changed the Markdown text and background colors before. So I tried to remember how to do that, but I forgot, so I looked it up.
This blog is a reminder.
This is Org-mode before the change.
The color of the
level 1 headline is red, and the color of the
level 2 headline and
link is the same blue. It is very difficult to see.
I will change the
level 1 headline to a pretty pink color and the color of the
link to a more obvious color.
Check the Face name
Place the cursor over the area you wish to examine and type the following command.
Then the following will appear in the minibuffer.
Describe face (default ‘org-level-1’):
Show list of Face
Now that you know the Face name, display the list of faces.
Click on the Face name you want to edit.
Edit text color and text foreground color
Apply to try it out, or
Apply and save to save it.
By the way, here is the cutest color combination I could think of.
- Foreground: PaleVioletRed1
- Background: LavenderBlush1
I changed the color of the link. It is much easier to see.