https://github.com/rollecode/colorname
A little tool for getting a color name as CSS variable from color-name.com.
https://github.com/rollecode/colorname
Last synced: 27 days ago
JSON representation
A little tool for getting a color name as CSS variable from color-name.com.
- Host: GitHub
- URL: https://github.com/rollecode/colorname
- Owner: rollecode
- Created: 2022-09-02T10:30:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T11:55:49.000Z (over 3 years ago)
- Last Synced: 2026-05-02T13:33:29.574Z (28 days ago)
- Language: Shell
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Color name CLI
A little tool for getting a color name as CSS variable from [color-name.com](https://www.color-name.com/).
## Prequisities
* macOS
* html-xml-utils (`brew install html-xml-utils`)
* lynx (`brew install lynx`)
* wget (`brew install wget`)
## Installation
1. Git clone this repository or download zip and unpack it
2. Open Terminal and cd into unpacked directory/repo
3. `sudo mv colorname.sh /usr/local/bin/colorname && sudo chmod +x /usr/local/bin/colorname`
## Usage
```shell
colorname bd93f9
```
Outputs: