Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 289 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 289 Bytes

rgbToHex

This module converts 3 rgb digits to css hex string

Usage

const rgbToHex = require('rgbToHex');
console.log(rgbToHex(50, 150, 250)); // => String #3296fa

For run example

npm start OR yarn start

For run tests

npm test OR yarn test