The way I run emacs:

TERM=xterm-256color emacs -nw <my_file>

I am trying to have background on dracula-theme (https://github.com/dracula/dracula-theme).

enter image description here

I have added following line into .emacs:

(add-to-list 'default-frame-alist '(background-color . "#282a36"))

Expected color:

enter image description here

but some blue color show up instead:

enter image description here

I have also installed the draculate them but similiar problem occurs.

(add-to-list 'custom-theme-load-path "~/.emacs.d/themes") (load-theme 'dracula t)

Possible bug: https://github.com/dracula/emacs/issues/32

1 Answer 1


Have you applied a theme? In which case

M-x: describe-face

type "default"

See what that is.

Also, remember that terminals have pallettes. This stack exchange article will get you going.

  • I have applied the theme as (add-to-list 'custom-theme-load-path "~/.emacs.d/themes"); (load-theme 'dracula t) // when I type default I get Background: #000000
    – alper
    Commented Feb 7, 2020 at 9:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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