An open API service indexing awesome lists of open source software.

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.

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:

Screen-Shot-2022-09-02-13-57-03 60