chrisnager / short-color-names

The 45 CSS color names that are as short as or shorter than their corresponding hexcodes.

Home Page:http://chrisnager.github.io/short-color-names/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The 45 CSS color names that are as short as or shorter than their corresponding hexcodes.

Feel free to use these color names in production because they have just as many or less characters in their color names than they have in their hexcodes. Check it out.

For example:

  • The CSS color name red has three characters while it's hexcode #f00 has four characters.
  • The CSS color name indigo has six characters while it's hexcode #4b0082 has seven characters.
  • The CSS color name crimson has seven characters while it's hexcode #dc143c also has seven characters.

List of the 45 short color names

Color name Hexcode
aqua #0ff
azure #f0ffff
beige #f5f5dc
bisque #ffe4c4
blue #00f
brown #a52a2a
coral #ff7f50
crimson #dc143c
cyan #00ffff
darkred #8b0000
dimgray #696969
dimgrey #696969
gold #ffd700
gray #808080
green #008000
grey #808080
hotpink #ff69b4
indigo #4b0082
ivory #fffff0
khaki #f0e68c
lime #0f0
linen #faf0e6
maroon #800000
navy #000080
oldlace #fdf5e6
olive #808000
orange #ffa500
orchid #da70d6
peru #cd853f
pink #ffc0cb
plum #dda0dd
purple #800080
red #f00
salmon #fa8072
sienna #a0522d
silver #c0c0c0
skyblue #87ceeb
snow #fffafa
tan #d2b48c
teal #008080
thistle #d8bfd8
tomato #ff6347
violet #ee82ee
wheat #f5deb3
transparent rgba(0,0,0,0)

License

The MIT License (MIT)

Copyright (c) 2014 Chris Nager

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

The 45 CSS color names that are as short as or shorter than their corresponding hexcodes.

http://chrisnager.github.io/short-color-names/