UNPKG

togglehexrgb

Version:

toggles hex formatted string to rgb and rgb to hex, automatically detects input format

39 lines (28 loc) • 1.02 kB
<h1 align="center">Welcome to togglehexrgb šŸ‘‹</h1> <p> <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" /> <a href="#" target="_blank"> <img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" /> </a> <a href="https://twitter.com/tM0Nk3y" target="_blank"> <img alt="Twitter: tM0Nk3y" src="https://img.shields.io/twitter/follow/tM0Nk3y.svg?style=social" /> </a> </p> > toggles hex formatted string to rgb and rgb to hex, automatically detects input format ## Install ```sh npm install togglehexrgb ``` ## Usage ```sh toggleHexRgb('#123456') ``` ## Author šŸ‘¤ **Todd Matheson <tmatheson11186@gmail.com>** * Website: https://toddmath.com * Twitter: [@tM0Nk3y](https://twitter.com/tM0Nk3y) * Github: [@toddmath](https://github.com/toddmath) ## Show your support Give a ā­ļø if this project helped you! *** _This README was generated with ā¤ļø by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_