Skip to content

Aidan-The-Dev/hex-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hex-codes

Easily use hex codes in your project

Install

Install with npm

$ npm i hex-codes

Requiring the package

const hex = require('hex-codes')

Using the hex codes

const { hex } = require('hex-codes')
const blue = hex('blue')
console.log(blue)

Available Colors

RED
GREEN
BLUE
YELLOW
PURPLE
BLACK
SILVER
GRAY
MAROON
OLIVE
LIME
AQUA
TEAL
NAVY
VIOLET
ORANGE
CHERRYRED
ROSE
JAM
MERLOT
GARNET
CRIMSON
SKY
COBALT
AZURE
PINK
SALMON
WHEAT
LAVENDER
GOLD
PLUM
INDIGO
TURQUOISE
BEIGE
THISTLE
CORAL
SEAGREEN
DARKORANGE
FIREBRICK
LIGHTSKYBLUE
MEDIUMSEAGREEN
TOMATO
KHAKI
DARKVIOLET
PALEVIOLETRED
MEDIUMSLATEBLUE
MEDIUMTURQUOISE
MEDIUMVIOLETRED
DARKSLATEBLUE
MIDNIGHTBLUE
DODGERBLUE
DARKSLATEGRAY
LIGHTSLATEGRAY
LIGHTSTEELBLUE
PALEGREEN
SPRINGGREEN
FORESTGREEN
OLIVEDRAB
YELLOWGREEN
HONEYDEW
IVORY
SEASHELL
LINEN
MINTCREAM
GHOSTWHITE
WHITESMOKE
LAVENDERBLUSH
OLDLACE
FLORALWHITE
ALICEBLUE
PAPAYAWHIP
BLANCHEDALMOND
BISQUE
PEACHPUFF
NAVAJOWHITE
MOCCASIN
CORNSILK
MISTYROSE
ANTIQUEWHITE
CREAM
LEMONCHIFFON
LIGHTGOLDENRODYELLOW
PALEGOLDENROD
KHAKI
DARKKHAKI
PERU
CHOCOLATE
SADDLEBROWN
SIENNA
BURLYWOOD
ROSYBROWN
SANDYBROWN
TAN
GOLDENROD
DARKGOLDENROD
PERU
DARKOLIVEGREEN
OLIVEDRAB
GREENYELLOW
LAWNGREEN

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Aidan-The-Dev

Contributors

666wCodes

License

Copyright © 2023 Aidan-The-Dev Licensed under the Apache-2.0 license.

About

Source code for the hex-colors package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published