🎨 Alfred workflow to generate color names
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
media
.editorconfig
.gitattributes
.gitignore
.travis.yml
icon.png
index.js
info.plist
license
package-lock.json
package.json
readme.md
test.js

readme.md

alfred-coolors Build Status

Color name generator

Install

$ npm i -g alfred-coolors

Requires Node.js 4+ and the Alfred Powerpack.

Usage

In Alfred, 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