Navigation: Table of Contents, Index, next: BBDB Elisp Code, prev: Emacs Colors

List of Colors for Emacs

The colors will only display if your browser supports Cascading Style Sheets (CSS). Note that CSS interpretation might be switched off in your browser. Obviously your display must also be able to support the colors. If your display is limited to 256 colors or less, then some of the colors might look alike eventhough they are not.

snow                  snow
ghost white           ghost white
white smoke           white smoke
gainsboro             gainsboro
floral white          floral white
old lace              old lace
linen                 linen
antique white         antique white
papaya whip           papaya whip
blanched almond       blanched almond
bisque                bisque
peach puff            peach puff
navajo white          navajo white
moccasin              moccasin
cornsilk              cornsilk
ivory                 ivory
lemon chiffon         lemon chiffon
seashell              seashell
honeydew              honeydew
mint cream            mint cream
azure                 azure
alice blue            alice blue
lavender              lavender
lavender blush        lavender blush
misty rose            misty rose
white                 white
black                 black
dark slate gray       dark slate gray
dim gray              dim gray
slate gray            slate gray
light slate gray      light slate gray
gray                  gray
light grey            light grey
midnight blue         midnight blue
navy                  navy
cornflower blue       cornflower blue
dark slate blue       dark slate blue
slate blue            slate blue
medium slate blue     medium slate blue
light slate blue      light slate blue
medium blue           medium blue
royal blue            royal blue
blue                  blue
dodger blue           dodger blue
deep sky blue         deep sky blue
sky blue              sky blue
light sky blue        light sky blue
steel blue            steel blue
light steel blue      light steel blue
light blue            light blue
powder blue           powder blue
pale turquoise        pale turquoise
dark turquoise        dark turquoise
medium turquoise      medium turquoise
turquoise             turquoise
cyan                  cyan
light cyan            light cyan
cadet blue            cadet blue
medium aquamarine     medium aquamarine
aquamarine            aquamarine
dark green            dark green
dark olive green      dark olive green
dark sea green        dark sea green
sea green             sea green
medium sea green      medium sea green
light sea green       light sea green
pale green            pale green
spring green          spring green
lawn green            lawn green
green                 green
chartreuse            chartreuse
medium spring green   medium spring green
green yellow          green yellow
lime green            lime green
yellow green          yellow green
forest green          forest green
olive drab            olive drab
dark khaki            dark khaki
khaki                 khaki
pale goldenrod        pale goldenrod
light goldenrod yellow  light goldenrod yellow
light yellow          light yellow
yellow                yellow
gold                  gold
light goldenrod       light goldenrod
goldenrod             goldenrod
dark goldenrod        dark goldenrod
rosy brown            rosy brown
indian red            indian red
saddle brown          saddle brown
sienna                sienna
peru                  peru
burlywood             burlywood
beige                 beige
wheat                 wheat
sandy brown           sandy brown
tan                   tan
chocolate             chocolate
firebrick             firebrick
brown                 brown
dark salmon           dark salmon
salmon                salmon
light salmon          light salmon
orange                orange
dark orange           dark orange
coral                 coral
light coral           light coral
tomato                tomato
orange red            orange red
red                   red
hot pink              hot pink
deep pink             deep pink
pink                  pink
light pink            light pink
pale violet red       pale violet red
maroon                maroon
medium violet red     medium violet red
violet red            violet red
magenta               magenta
violet                violet
plum                  plum
orchid                orchid
medium orchid         medium orchid
dark orchid           dark orchid
dark violet           dark violet
blue violet           blue violet
purple                purple
medium purple         medium purple
thistle               thistle
snow1                 snow1
snow2                 snow2
snow3                 snow3
snow4                 snow4
seashell1             seashell1
seashell2             seashell2
seashell3             seashell3
seashell4             seashell4
AntiqueWhite1         AntiqueWhite1
AntiqueWhite2         AntiqueWhite2
AntiqueWhite3         AntiqueWhite3
AntiqueWhite4         AntiqueWhite4
bisque1               bisque1
bisque2               bisque2
bisque3               bisque3
bisque4               bisque4
PeachPuff1            PeachPuff1
PeachPuff2            PeachPuff2
PeachPuff3            PeachPuff3
PeachPuff4            PeachPuff4
NavajoWhite1          NavajoWhite1
NavajoWhite2          NavajoWhite2
NavajoWhite3          NavajoWhite3
NavajoWhite4          NavajoWhite4
LemonChiffon1         LemonChiffon1
LemonChiffon2         LemonChiffon2
LemonChiffon3         LemonChiffon3
LemonChiffon4         LemonChiffon4
cornsilk1             cornsilk1
cornsilk2             cornsilk2
cornsilk3             cornsilk3
cornsilk4             cornsilk4
ivory1                ivory1
ivory2                ivory2
ivory3                ivory3
ivory4                ivory4
honeydew1             honeydew1
honeydew2             honeydew2
honeydew3             honeydew3
honeydew4             honeydew4
LavenderBlush1        LavenderBlush1
LavenderBlush2        LavenderBlush2
LavenderBlush3        LavenderBlush3
LavenderBlush4        LavenderBlush4
MistyRose1            MistyRose1
MistyRose2            MistyRose2
MistyRose3            MistyRose3
MistyRose4            MistyRose4
azure1                azure1
azure2                azure2
azure3                azure3
azure4                azure4
SlateBlue1            SlateBlue1
SlateBlue2            SlateBlue2
SlateBlue3            SlateBlue3
SlateBlue4            SlateBlue4
RoyalBlue1            RoyalBlue1
RoyalBlue2            RoyalBlue2
RoyalBlue3            RoyalBlue3
RoyalBlue4            RoyalBlue4
blue1                 blue1
blue2                 blue2
blue3                 blue3
blue4                 blue4
DodgerBlue1           DodgerBlue1
DodgerBlue2           DodgerBlue2
DodgerBlue3           DodgerBlue3
DodgerBlue4           DodgerBlue4
SteelBlue1            SteelBlue1
SteelBlue2            SteelBlue2
SteelBlue3            SteelBlue3
SteelBlue4            SteelBlue4
DeepSkyBlue1          DeepSkyBlue1
DeepSkyBlue2          DeepSkyBlue2
DeepSkyBlue3          DeepSkyBlue3
DeepSkyBlue4          DeepSkyBlue4
SkyBlue1              SkyBlue1
SkyBlue2              SkyBlue2
SkyBlue3              SkyBlue3
SkyBlue4              SkyBlue4
LightSkyBlue1         LightSkyBlue1
LightSkyBlue2         LightSkyBlue2
LightSkyBlue3         LightSkyBlue3
LightSkyBlue4         LightSkyBlue4
SlateGray1            SlateGray1
SlateGray2            SlateGray2
SlateGray3            SlateGray3
SlateGray4            SlateGray4
LightSteelBlue1       LightSteelBlue1
LightSteelBlue2       LightSteelBlue2
LightSteelBlue3       LightSteelBlue3
LightSteelBlue4       LightSteelBlue4
LightBlue1            LightBlue1
LightBlue2            LightBlue2
LightBlue3            LightBlue3
LightBlue4            LightBlue4
LightCyan1            LightCyan1
LightCyan2            LightCyan2
LightCyan3            LightCyan3
LightCyan4            LightCyan4
PaleTurquoise1        PaleTurquoise1
PaleTurquoise2        PaleTurquoise2
PaleTurquoise3        PaleTurquoise3
PaleTurquoise4        PaleTurquoise4
CadetBlue1            CadetBlue1
CadetBlue2            CadetBlue2
CadetBlue3            CadetBlue3
CadetBlue4            CadetBlue4
turquoise1            turquoise1
turquoise2            turquoise2
turquoise3            turquoise3
turquoise4            turquoise4
cyan1                 cyan1
cyan2                 cyan2
cyan3                 cyan3
cyan4                 cyan4
DarkSlateGray1        DarkSlateGray1
DarkSlateGray2        DarkSlateGray2
DarkSlateGray3        DarkSlateGray3
DarkSlateGray4        DarkSlateGray4
aquamarine1           aquamarine1
aquamarine2           aquamarine2
aquamarine3           aquamarine3
aquamarine4           aquamarine4
DarkSeaGreen1         DarkSeaGreen1
DarkSeaGreen2         DarkSeaGreen2
DarkSeaGreen3         DarkSeaGreen3
DarkSeaGreen4         DarkSeaGreen4
SeaGreen1             SeaGreen1
SeaGreen2             SeaGreen2
SeaGreen3             SeaGreen3
SeaGreen4             SeaGreen4
PaleGreen1            PaleGreen1
PaleGreen2            PaleGreen2
PaleGreen3            PaleGreen3
PaleGreen4            PaleGreen4
SpringGreen1          SpringGreen1
SpringGreen2          SpringGreen2
SpringGreen3          SpringGreen3
SpringGreen4          SpringGreen4
green1                green1
green2                green2
green3                green3
green4                green4
chartreuse1           chartreuse1
chartreuse2           chartreuse2
chartreuse3           chartreuse3
chartreuse4           chartreuse4
OliveDrab1            OliveDrab1
OliveDrab2            OliveDrab2
OliveDrab3            OliveDrab3
OliveDrab4            OliveDrab4
DarkOliveGreen1       DarkOliveGreen1
DarkOliveGreen2       DarkOliveGreen2
DarkOliveGreen3       DarkOliveGreen3
DarkOliveGreen4       DarkOliveGreen4
khaki1                khaki1
khaki2                khaki2
khaki3                khaki3
khaki4                khaki4
LightGoldenrod1       LightGoldenrod1
LightGoldenrod2       LightGoldenrod2
LightGoldenrod3       LightGoldenrod3
LightGoldenrod4       LightGoldenrod4
LightYellow1          LightYellow1
LightYellow2          LightYellow2
LightYellow3          LightYellow3
LightYellow4          LightYellow4
yellow1               yellow1
yellow2               yellow2
yellow3               yellow3
yellow4               yellow4
gold1                 gold1
gold2                 gold2
gold3                 gold3
gold4                 gold4
goldenrod1            goldenrod1
goldenrod2            goldenrod2
goldenrod3            goldenrod3
goldenrod4            goldenrod4
DarkGoldenrod1        DarkGoldenrod1
DarkGoldenrod2        DarkGoldenrod2
DarkGoldenrod3        DarkGoldenrod3
DarkGoldenrod4        DarkGoldenrod4
RosyBrown1            RosyBrown1
RosyBrown2            RosyBrown2
RosyBrown3            RosyBrown3
RosyBrown4            RosyBrown4
IndianRed1            IndianRed1
IndianRed2            IndianRed2
IndianRed3            IndianRed3
IndianRed4            IndianRed4
sienna1               sienna1
sienna2               sienna2
sienna3               sienna3
sienna4               sienna4
burlywood1            burlywood1
burlywood2            burlywood2
burlywood3            burlywood3
burlywood4            burlywood4
wheat1                wheat1
wheat2                wheat2
wheat3                wheat3
wheat4                wheat4
tan1                  tan1
tan2                  tan2
tan3                  tan3
tan4                  tan4
chocolate1            chocolate1
chocolate2            chocolate2
chocolate3            chocolate3
chocolate4            chocolate4
firebrick1            firebrick1
firebrick2            firebrick2
firebrick3            firebrick3
firebrick4            firebrick4
brown1                brown1
brown2                brown2
brown3                brown3
brown4                brown4
salmon1               salmon1
salmon2               salmon2
salmon3               salmon3
salmon4               salmon4
LightSalmon1          LightSalmon1
LightSalmon2          LightSalmon2
LightSalmon3          LightSalmon3
LightSalmon4          LightSalmon4
orange1               orange1
orange2               orange2
orange3               orange3
orange4               orange4
DarkOrange1           DarkOrange1
DarkOrange2           DarkOrange2
DarkOrange3           DarkOrange3
DarkOrange4           DarkOrange4
coral1                coral1
coral2                coral2
coral3                coral3
coral4                coral4
tomato1               tomato1
tomato2               tomato2
tomato3               tomato3
tomato4               tomato4
OrangeRed1            OrangeRed1
OrangeRed2            OrangeRed2
OrangeRed3            OrangeRed3
OrangeRed4            OrangeRed4
red1                  red1
red2                  red2
red3                  red3
red4                  red4
DeepPink1             DeepPink1
DeepPink2             DeepPink2
DeepPink3             DeepPink3
DeepPink4             DeepPink4
HotPink1              HotPink1
HotPink2              HotPink2
HotPink3              HotPink3
HotPink4              HotPink4
pink1                 pink1
pink2                 pink2
pink3                 pink3
pink4                 pink4
LightPink1            LightPink1
LightPink2            LightPink2
LightPink3            LightPink3
LightPink4            LightPink4
PaleVioletRed1        PaleVioletRed1
PaleVioletRed2        PaleVioletRed2
PaleVioletRed3        PaleVioletRed3
PaleVioletRed4        PaleVioletRed4
maroon1               maroon1
maroon2               maroon2
maroon3               maroon3
maroon4               maroon4
VioletRed1            VioletRed1
VioletRed2            VioletRed2
VioletRed3            VioletRed3
VioletRed4            VioletRed4
magenta1              magenta1
magenta2              magenta2
magenta3              magenta3
magenta4              magenta4
orchid1               orchid1
orchid2               orchid2
orchid3               orchid3
orchid4               orchid4
plum1                 plum1
plum2                 plum2
plum3                 plum3
plum4                 plum4
MediumOrchid1         MediumOrchid1
MediumOrchid2         MediumOrchid2
MediumOrchid3         MediumOrchid3
MediumOrchid4         MediumOrchid4
DarkOrchid1           DarkOrchid1
DarkOrchid2           DarkOrchid2
DarkOrchid3           DarkOrchid3
DarkOrchid4           DarkOrchid4
purple1               purple1
purple2               purple2
purple3               purple3
purple4               purple4
MediumPurple1         MediumPurple1
MediumPurple2         MediumPurple2
MediumPurple3         MediumPurple3
MediumPurple4         MediumPurple4
thistle1              thistle1
thistle2              thistle2
thistle3              thistle3
thistle4              thistle4
gray0                 gray0
gray1                 gray1
gray2                 gray2
gray3                 gray3
gray4                 gray4
gray5                 gray5
gray6                 gray6
gray7                 gray7
gray8                 gray8
gray9                 gray9
gray10                gray10
gray11                gray11
gray12                gray12
gray13                gray13
gray14                gray14
gray15                gray15
gray16                gray16
gray17                gray17
gray18                gray18
gray19                gray19
gray20                gray20
gray21                gray21
gray22                gray22
gray23                gray23
gray24                gray24
gray25                gray25
gray26                gray26
gray27                gray27
gray28                gray28
gray29                gray29
gray30                gray30
gray31                gray31
gray32                gray32
gray33                gray33
gray34                gray34
gray35                gray35
gray36                gray36
gray37                gray37
gray38                gray38
gray39                gray39
gray40                gray40
gray41                gray41
gray42                gray42
gray43                gray43
gray44                gray44
gray45                gray45
gray46                gray46
gray47                gray47
gray48                gray48
gray49                gray49
gray50                gray50
gray51                gray51
gray52                gray52
gray53                gray53
gray54                gray54
gray55                gray55
gray56                gray56
gray57                gray57
gray58                gray58
gray59                gray59
gray60                gray60
gray61                gray61
gray62                gray62
gray63                gray63
gray64                gray64
gray65                gray65
gray66                gray66
gray67                gray67
gray68                gray68
gray69                gray69
gray70                gray70
gray71                gray71
gray72                gray72
gray73                gray73
gray74                gray74
gray75                gray75
gray76                gray76
gray77                gray77
gray78                gray78
gray79                gray79
gray80                gray80
gray81                gray81
gray82                gray82
gray83                gray83
gray84                gray84
gray85                gray85
gray86                gray86
gray87                gray87
gray88                gray88
gray89                gray89
gray90                gray90
gray91                gray91
gray92                gray92
gray93                gray93
gray94                gray94
gray95                gray95
gray96                gray96
gray97                gray97
gray98                gray98
gray99                gray99
gray100               gray100
dark grey             dark grey
dark blue             dark blue
dark cyan             dark cyan
dark magenta          dark magenta
dark red              dark red
light green           light green

Created with the following lisp defun:

(defun list-colors-display-htm (&optional list)
  "Create HTML page which lists all the defined colors."
  (interactive)
  (if (and (null list) window-system)
      (progn
        (setq list (x-defined-colors))
        ;; Delete duplicate colors.
        (let ((l list))
          (while (cdr l)
            (if (facemenu-color-equal (car l) (car (cdr l)))
                (setcdr l (cdr (cdr l)))
              (setq l (cdr l)))))))
  (with-output-to-temp-buffer "*Colors*"
    (save-excursion
      (set-buffer standard-output)
      (insert "<html>\n"
              "<head>\n"
              "<meta http-equiv=\"Content-Style-Type\" content=\"text/css\">\n"
              "<title>Colors</title>\n"
              "</head>\n"
              "<body>\n"
              "<h1>Colors</h1>\n"
              "<p>\n"
              "<pre>\n")
      (let (s)
        (while list
          (insert (format (concat "<span style=\"background-color:%s\">%-20s</span>"
                                  "  "
                                  "<span style=\"color:%s\">%s</span>"
                                  "\n")
                  (html-color (car list)) (car list) 
                  (html-color (car list)) (car list)))
          (setq list (cdr list))))
      (insert "</pre>"
              "</body>"
              "</html>"))))

(defun html-color (string)
  "Convert colors names to rgb(n1,n2,n3) strings."
  (format "rgb(%d,%d,%d)"
          (/ (nth 0 (x-color-values string)) 256)
          (/ (nth 1 (x-color-values string)) 256)
          (/ (nth 2 (x-color-values string)) 256)))

Navigation: Top, Table of Contents, Index, next: BBDB Elisp Code, prev: Emacs Colors


http://www.oocities.org/kensanata/colors.html / Alex Schroeder <kensanata@yahoo.com> / updated: 2001-02-24 / significant changes: 2000-08-11