is-hex-color

Check whether a string is a hex color.

npm install is-hex-color
2 downloads in the last week
4 downloads in the last month

is-hex-color

Check whether a string is a hex color.

Installation

$ component install segmentio/is-hex-color
$ npm install is-hex-color

API

isHexColor(string)

Checks whether a string is a hex color.

License

MIT

npm loves you