npm.io
1.0.1 • Published 4 years ago

jsmp-infra-yevhen-rgb-to-hex

Licence
ISC
Version
1.0.1
Deps
0
Size
2 kB
Vulns
0
Weekly
0

Purpose:

Converts rgb to hex.

Installing

Using npm:

npm i jsmp-infra-yevhen-rgb-to-hex

Usage:

const rgbToHex = require('jsmp-infra-yevhen-rgb-to-hex').default;
rgbToHex(25, 25, 25) // returns #191919
rgbToHex('sss', 'sss', 'sss') // returns null

Keywords