JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 292274
  • Score
    100M100P100Q174313F
  • License MIT

Convert RGB color to HEX

Package Exports

  • rgb-hex

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (rgb-hex) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rgb-hex Build Status

Convert RGB color to HEX

Install

$ npm install --save rgb-hex

Usage

var rgbHex = require('rgb-hex');

rgbHex(65, 131, 196);
//=> 4183c4

See hex-rgb for the inverse.

License

MIT © Sindre Sorhus