Skip to content

This module converts 3 rgb digits to css hex string

Notifications You must be signed in to change notification settings

VladimirMerk/rgbToHex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This module converts 3 rgb digits to css hex string

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published