Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Check whether a string is a hex color.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 History.md
Octocat-spinner-32 Makefile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 component.json
Octocat-spinner-32 index.js
Octocat-spinner-32 package.json
Readme.md

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

Something went wrong with that request. Please try again.