1.0.5 • Published 3 years ago

npm-togglehex v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

npm-togglehex

Converts hexadecimal color format to rgb.

usage

Install the npm package.

npm install npm-togglehex --save

Add this to your JavaScript code.

const hex = require('npm-togglehex');
let result = hex.toggleHex(string));

hex and result could be named as you wish and string stands for a string input. Input could be hexadecimal color format: #FFFFFF or RGB in standart CSS notation: rgb(255,255,255). The toggleHex function will detect the type of input and return the converted value.

1.0.5

3 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago