8000 GitHub - PedroEscudero/rgb
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PedroEscudero/rgb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGB

Packed with a transformer from RGB to Hexadecimal.

Installation

npm install @pedroescudero/rgb

Usage

The main function requires 3 decimal numbers. The response will be a string representing the hexadecimal value .

    let rgb = require('@pedroescudero/rgb');
    let rgbValue = rgb(0, 0, 0); # The result is 000000

Tests

npm test

It is using mocha as a testing framework and Chai for the assertions.

For manual testing and training you can employ Runkit.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0