0.0.2 • Published 2 years ago

@mxthevs/colors v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

OCaml build workflow

Table of Contents

Introduction

What is this?

colors is a CLI that parse colors from text files. It can also convert colors between different formats. Currently the application supports parsing hexadecimals (without alpha) and converting them to RGB.

Installation

Using npm

npm i @mxthevs/colors -g

Using yarn

yarn global add @mxthevs/colors

Usage

colors /path/to/file.{txt,json,etc}

In case you already have a package or shell function named colors in your system (This might be the case if you are using zsh, for example. You can check this by running type colors in your terminal), you can still run this package, after installing with the instructions above, with the command:

npx colors /path/to/file.{txt,json,etc}

Options

You can check the help page for the full set of options that colors accept.

colors --help

Feel free to report any bug that you encounter! 😃