rhex

A tiny library to convert rgb to hex

Usage no npm install needed!

<script type="module">
  import rhex from 'https://cdn.skypack.dev/rhex';
</script>

README

rhex

Build Status

A tiny library to convert rgb to hex

Usage
    Node Package
        const rh = require('rhex');
        console.log(rh(10,20,30));
        //0a141e
        
    Command Line 
        $ rh <R> <G> <B>

        Examples

        $ rh  10 20 30
        0a141e

Inspired by javascripter