https://github.com/g1eny0ung/alfred-colors-workflow
Convert CSS colors between hex, rgb, hsl in Alfred.
https://github.com/g1eny0ung/alfred-colors-workflow
alfred alfred-workflow hex hsl rgb
Last synced: 3 months ago
JSON representation
Convert CSS colors between hex, rgb, hsl in Alfred.
- Host: GitHub
- URL: https://github.com/g1eny0ung/alfred-colors-workflow
- Owner: g1eny0ung
- License: mit
- Created: 2017-07-04T08:50:10.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-23T17:12:56.000Z (almost 2 years ago)
- Last Synced: 2025-03-18T01:40:35.455Z (3 months ago)
- Topics: alfred, alfred-workflow, hex, hsl, rgb
- Language: Ruby
- Homepage:
- Size: 704 KB
- Stars: 32
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alfred-Colors-workflow
[Download](https://github.com/g1eny0ung/Alfred-Colors-workflow/raw/master/dist/Colors.alfredworkflow)
Convert CSS colors between **hex, rgb, hsl** in Alfred.
The keyword is **`c`**, you can change it with your habit.

## Pre-installation
```sh
brew install ruby
gem install chunky_png
```## Formats
### keywords
> Use keywords to represent colors, you can find all keywords in .
- black => #000
- darkblue => #00008b
- yellowgreen => #9acd32### hex
> Use hex to represent colors, you can use the following formats (`#` can be omitted):
- #ffffff
- ffffff
- #fff
- fff### rgb
> Use rgb to represent colors, you can use the following formats (the `rgb()` wrapper can be omitted):
- rgb(255, 255, 255)
- rgb(255-255-255)
- rgb(255 255 255)
- rgb(255|255|255)### hsl
> Use hsl to represent colors, you can use the following formats (the `hsl()` wrapper can be omitted):
- hsl(0, 0%, 100%)
- same as rgb## Credits