Skip to content

Instantly share code, notes, and snippets.

@bryanhunter
Last active October 15, 2021 08:12
Show Gist options
  • Star 23 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bryanhunter/6178408 to your computer and use it in GitHub Desktop.
Save bryanhunter/6178408 to your computer and use it in GitHub Desktop.
Mapping colors of the Monokai color scheme to their nearest Sherwin-Williams paint color

Monokai color to Sherwin-Williams mapping
(monokai-blue-light "#89BDFF") -> SW 6961 BLUE BEYOND
(monokai-gray "#595959") -> SW 7048 URBANE BRONZE
(monokai-gray-darker "#383830") -> SW 6258 TRICORN BLACK
(monokai-gray-darkest "#141411") -> SW 6990 CAVIAR
(monokai-gray-lightest "#595959") -> SW 7048 URBANE BRONZE
(monokai-gray-light "#E6E6E6") -> SW 6539 SOOTHING WHITE
(monokai-green "#A6E22A") -> SW 6920 CENTER STAGE
(monokai-green-light "#A6E22E") -> SW 6920 CENTER STAGE
(monokai-grey-dark "#272822") -> SW 6990 CAVIAR
(monokai-magenta "#F92672") -> SW 6859 FEVERISH PINK
(monokai-purple "#AE81FF") -> SW 6975 LAVISH LAVENDER
(monokai-purple-light "#FD5FF1") -> SW 6847 ICE PLANT
(monokai-yellow "#E6DB74") -> SW 6913 FUNKY YELLOW
(monokai-yellow-dark "#75715E") ->SW 6173 COCOON
(monokai-yellow-light "#F8F8F2") -> SW 7006 EXTRA WHITE

Editor element to Monokai color

default
	:foreground ,monokai-yellow-light 
	:background ,monokai-grey-dark

cursor
	:foreground ,monokai-magenta

hl-line
	:background ,monokai-gray-darkest

minibuffer-prompt
	:foreground ,monokai-yellow-dark

modeline
	:background ,monokai-gray-lightest 
	:foreground ,monokai-gray-light

region
	:background ,monokai-gray-darker

show-paren-match-face
	:background ,monokai-gray-lightest

font-lock-builtin-face
	:foreground ,monokai-green

font-lock-comment-face
	:foreground ,monokai-yellow-dark))))
   
font-lock-constant-face
	:foreground ,monokai-purple

font-lock-doc-string-face
	:foreground ,monokai-yellow

font-lock-function-name-face
	:foreground ,monokai-green

font-lock-keyword-face
	:foreground ,monokai-magenta

font-lock-string-face
	:foreground ,monokai-yellow

font-lock-type-face
	:foreground ,monokai-blue-light

font-lock-variable-name-face
	:foreground ,monokai-magenta

font-lock-warning-face
	:bold t :foreground ,monokai-purple-light

cua-rectangle
	:background ,monokai-gray-darkest

ido-first-match
	:foreground ,monokai-purple

ido-only-match
	:foreground ,monokai-green

ido-subdir
	:foreground ,monokai-blue-light

whitespace-space
	:foreground ,monokai-gray

Used http://www.easyrgb.com/ to map RGB to SW codes mapping

@ImOnALampshade
Copy link

Thanks, now I know what colours to paint my home office!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment