Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
/ hubot-color Public archive

A Hubot script that convert the color code to rgb, hsl, and hex format

License

Notifications You must be signed in to change notification settings

bouzuya/hubot-color

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hubot-color

A Hubot script that convert the color code to rgb, hsl, and hex format.

Installation

$ npm install git://github.com/bouzuya/hubot-color.git

or

$ # TAG is the package version you need.
$ npm install 'git://github.com/bouzuya/hubot-color.git#TAG'

Sample Interaction

bouzuya> hubot help color
hubot> hubot color - convert the color code to rgb, hsl, and hex format

bouzuya> hubot color green
hubot> color green is rgb(0, 128, 0), hsl(120, 100%, 25%), #008000.
bouzuya> hubot color #4e6a41
hubot> color #4e6a41 is rgb(78, 106, 65), hsl(101, 24%, 34%), #4e6a41.
bouzuya> hubot color rgb(78, 106, 65)
hubot> color rgb(78, 106, 65) is rgb(78, 106, 65), hsl(101, 24%, 34%), #4e6a41.

See src/scripts/color.coffee for full documentation.

Development

Run test

$ npm test

Run robot

$ npm run robot

License

MIT

Author

bouzuya <[email protected]> (http://bouzuya.net)

Badges

Build Status Dependencies status

About

A Hubot script that convert the color code to rgb, hsl, and hex format

Resources

License

Stars

Watchers

Forks

Packages

No packages published