CSS Border Colors

148+ CSS named colors with live border previews and ready-to-copy code

red#ff0000
Style
Width
border: 3px solid red;

Border Styles with red

All CSS Named Colors

red
#ff0000
darkred
#8b0000
firebrick
#b22222
crimson
#dc143c
indianred
#cd5c5c
lightcoral
#f08080
salmon
#fa8072
darksalmon
#e9967a
lightsalmon
#ffa07a
tomato
#ff6347
orangered
#ff4500
orange
#ffa500
darkorange
#ff8c00
coral
#ff7f50
peru
#cd853f
sandybrown
#f4a460
chocolate
#d2691e
saddlebrown
#8b4513
sienna
#a0522d
tan
#d2b48c
moccasin
#ffe4b5
bisque
#ffe4c4
blanchedalmond
#ffebcd
papayawhip
#ffefd5
peachpuff
#ffdab9
mistyrose
#ffe4e1
linen
#faf0e6
yellow
#ffff00
lightyellow
#ffffe0
lemonchiffon
#fffacd
lightgoldenrodyellow
#fafad2
palegoldenrod
#eee8aa
gold
#ffd700
goldenrod
#daa520
darkgoldenrod
#b8860b
khaki
#f0e68c
darkkhaki
#bdb76b
green
#008000
darkgreen
#006400
forestgreen
#228b22
limegreen
#32cd32
lime
#00ff00
seagreen
#2e8b57
mediumseagreen
#3cb371
springgreen
#00ff7f
mediumspringgreen
#00fa9a
greenyellow
#adff2f
chartreuse
#7fff00
lawngreen
#7cfc00
olivedrab
#6b8e23
olive
#808000
yellowgreen
#9acd32
darkolivegreen
#556b2f
palegreen
#98fb98
lightgreen
#90ee90
mediumaquamarine
#66cdaa
aquamarine
#7fffd4
cyan
#00ffff
aqua
#00ffff
darkcyan
#008b8b
teal
#008080
mediumturquoise
#48d1cc
turquoise
#40e0d0
lightseagreen
#20b2aa
cadetblue
#5f9ea0
lightcyan
#e0ffff
paleturquoise
#afeeee
blue
#0000ff
darkblue
#00008b
navy
#000080
midnightblue
#191970
mediumblue
#0000cd
royalblue
#4169e1
cornflowerblue
#6495ed
steelblue
#4682b4
dodgerblue
#1e90ff
deepskyblue
#00bfff
skyblue
#87ceeb
lightskyblue
#87cefa
lightblue
#add8e6
powderblue
#b0e0e6
lightsteelblue
#b0c4de
aliceblue
#f0f8ff
purple
#800080
darkviolet
#9400d3
indigo
#4b0082
darkslateblue
#483d8b
slateblue
#6a5acd
mediumslateblue
#7b68ee
mediumpurple
#9370db
blueviolet
#8a2be2
darkorchid
#9932cc
mediumorchid
#ba55d3
orchid
#da70d6
violet
#ee82ee
rebeccapurple
#663399
thistle
#d8bfd8
plum
#dda0dd
magenta
#ff00ff
fuchsia
#ff00ff
darkmagenta
#8b008b
mediumvioletred
#c71585
pink
#ffc0cb
hotpink
#ff69b4
deeppink
#ff1493
palevioletred
#db7093
lightpink
#ffb6c1
brown
#a52a2a
maroon
#800000
rosybrown
#bc8f8f
burlywood
#deb887
wheat
#f5deb3
navajowhite
#ffdead
oldlace
#fdf5e6
gray
#808080
grey
#808080
darkgray
#a9a9a9
darkgrey
#a9a9a9
dimgray
#696969
dimgrey
#696969
lightgray
#d3d3d3
lightgrey
#d3d3d3
silver
#c0c0c0
gainsboro
#dcdcdc
whitesmoke
#f5f5f5
slategray
#708090
slategrey
#708090
lightslategray
#778899
lightslategrey
#778899
darkslategray
#2f4f4f
darkslategrey
#2f4f4f
white
#ffffff
snow
#fffafa
honeydew
#f0fff0
mintcream
#f5fffa
azure
#f0ffff
ghostwhite
#f8f8ff
seashell
#fff5ee
beige
#f5f5dc
floralwhite
#fffaf0
ivory
#fffff0
antiquewhite
#faebd7
cornsilk
#fff8dc
black
#000000

Showing 144 of 144 colors

Border Width Examples with red

1px
2px
3px
4px
5px
6px
7px
8px
10px
12px
16px
20px

What is CSS Border Colors?

CSS Border Colors is a reference tool that displays all 148 named CSS colors alongside live border previews, giving designers and developers an instant visual guide to the full named-color palette built into every browser. CSS ships with a rich set of human-readable color keywords — from common names like 'red', 'blue', and 'green' to more exotic ones like 'rebeccapurple', 'cornflowerblue', and 'papayawhip' — but finding the right one without a visual reference means guessing or searching the specification.

This tool renders each named color as a real CSS border so you can judge it in context, exactly as it would appear on an element in your UI. Alongside the border preview you can see the color keyword, its hex equivalent, and its RGB values, giving you the information you need to decide whether to use the keyword or its numeric form in your stylesheet.

The tool is especially helpful when matching a rough idea — "I want a medium blue" — to an exact CSS keyword. You can scan the palette, compare neighboring colors, and copy the name or hex value in a single click. It is also a useful learning resource for developers building familiarity with CSS color names, and for anyone who needs to quickly audit which named colors fall within WCAG contrast ratio guidelines for accessible text. All previews render live in your browser using real CSS, so what you see is exactly what you get.

How to Use CSS Border Colors

  1. Browse or search colors

    Scroll through all 148 named CSS colors or type a name in the search box to filter the list instantly.

  2. View border previews

    Each color is shown as a live CSS border so you can judge exactly how it will appear on a real element.

  3. Check hex and RGB values

    See the hex and RGB equivalents alongside each named color for use in any design tool or stylesheet.

  4. Copy the color value

    Click any color to copy the CSS keyword or hex value to your clipboard, ready to paste into your code.

Key Benefits

Full named-color coverage

All 148 CSS named colors are displayed in one place — no need to open the spec or search online.

Realistic border previews

Colors are rendered as actual CSS borders, matching exactly how they will look in your browser.

One-click copy

Copy any color keyword or its hex equivalent to your clipboard with a single click.

Instant filtering

Search by partial name to quickly locate a specific color without scrolling through the entire list.

Frequently Asked Questions

CSS defines 148 named color keywords. These are part of the CSS Color Level 4 specification and are supported in all modern browsers. The list includes the original 16 HTML colors, the 140 X11 colors, and the special keyword "rebeccapurple".

Yes, named colors are just human-readable aliases for specific hex values. For example, "red" is exactly equivalent to #FF0000. You can use either form interchangeably in CSS.

Absolutely. Any value that accepts a color in CSS — including border-color, border-top-color, outline-color, background-color, and color — accepts named color keywords.

Rebeccapurple (#663399) was added to the CSS specification in 2014 in memory of Rebecca Meyer, daughter of web standards advocate Eric Meyer. It is the only CSS color named after a real person.

Related Tools