Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/segment-boneyard/is-hex-color
Check whether a string is a hex color.
https://github.com/segment-boneyard/is-hex-color
Last synced: about 7 hours ago
JSON representation
Check whether a string is a hex color.
- Host: GitHub
- URL: https://github.com/segment-boneyard/is-hex-color
- Owner: segment-boneyard
- Created: 2013-09-27T20:08:58.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-09-27T20:17:49.000Z (about 11 years ago)
- Last Synced: 2024-09-28T04:49:14.259Z (about 2 months ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 6
- Watchers: 39
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# 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