colour-cli

1.0.0 • Public • Published

colour-cli

Get information about colors and convert them in the command line.

Installation

Enter one of the following commands in a terminal:

# Using npm
npm install -g colour-cli
# Using yarn
yarn global add colour-cli

Usage

See the command-line help:

   USAGE

     colour <command> [options]

   COMMANDS

     info <color>                     Display a color in various formats 
     negate <color>                   Invert and display a color         
     lighten <color> <amount>         Lighten and display a color        
     darken <color> <amount>          Darken and display a color         
     saturate <color> <amount>        Saturate and display a color       
     desaturate <color> <amount>      Desaturate and display a color     
     rotate <color> <degrees>         Rotate the hue and display a color 
     help <command>                   Display help for a specific command

   GLOBAL OPTIONS

     -h, --help         Display help                                      
     -V, --version      Display version                                   
     --no-color         Disable colors                                    
     --quiet            Quiet mode - only displays warn and error messages
     -v, --verbose      Verbose mode - will also output debug messages

License

Copyright © 2018 Hugo Locurcio and contributors

Unless otherwise specified, files in this repository are licensed under the MIT license; see LICENSE.md for more information.

Package Sidebar

Install

npm i colour-cli

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

30.5 kB

Total Files

16

Last publish

Collaborators

  • calinou