arvis-coolors
v0.0.6
Published
Get color name
Downloads
5
Maintainers
Readme
arvis-coolors
Color name generator for Arvis
🔗 This workflow is converted from alfred-workflow.
Note that there might be some code change or different actions from the original workflow.
Marked original workflow's creator to author.
Install
$ npm i -g arvis-coolors
Requires Node.js 4+.
Usage
In Arvis, type coolor
, Enter, and color in HEX format 🎉
Select a color and press Enter to copy it to the clipboard.
There is also support for HSL, RGB, and RGBA.
Each result contains an approximate match in percentages. It uses Euclidean distance to calculate how close is the selected color to a set of defined colors with names.
Thanks to @zeke and his color-namer package 🙌
License
MIT © radibit