rgb-hex : Convert RGB(A) color to HEX. You can installing rgb-hex npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install rgb-hex $ sudo npm install -g rgb-hex
If want to update the rgb-hex package execute the command as below,
$ sudo npm update rgb-hex
Update package globally,
$ npm install -g rgb-hex
$ sudo git clone https://github.com/rektide/rgb-hex.git
$ sudo npm install -g ./rgb-hex
rgb-hex@2.1.0 /usr/lib/node_modules/rgb-hex
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall rgb-hex
| Package Name | rgb-hex |
| Version | 2.1.0 |
| Description | Convert RGB(A) color to HEX |
| Released Date | 2016-11-04T04:26:24.529Z |
| Published by | sindresorhus |
| How to Learn | https://www.npmjs.com/package/rgb-hex/tutorial |