1.0.1 • Published 2 years ago
jsmp-infra-yevhen-rgb-to-hex v1.0.1
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