Emacs Init: Set Background Color

By Xah Lee. Date: .

Sometimes a Color Theme is too much. All you need is a mild background color.

To set background color, Alt+x set-background-color then type “honeydew”.

put this in your Emacs Init File:

(when (display-graphic-p)
  (push '(background-color . "honeydew") default-frame-alist))

The display-graphic-p check if emacs is running in graphical environment. (that is, not terminal)

Emacs init, set default window size, etc

Emacs, Color Theme