# @lyo/rgb-hex

A browser-compatible version of [rgb-hex](https://www.npmjs.com/package/rgb-hex) built automatically with [Lyo](https://github.com/bokub/lyo).

[![Version](https://flat.badgen.net/npm/v/@lyo/rgb-hex)](https://www.npmjs.com/package/@lyo/rgb-hex)
[![Build](https://bokub.github.io/lyo/badge-flat.svg)](https://www.npmjs.com/package/@lyo/rgb-hex)
[![Hits](https://data.jsdelivr.com/v1/package/npm/@lyo/rgb-hex/badge)](https://www.jsdelivr.com/package/npm/@lyo/rgb-hex)

## Usage

#### In a browser
```html
<script src="https://cdn.jsdelivr.net/npm/@lyo/rgb-hex"></script>

<script>
  rgbHex(foo, bar, baz, qux);
</script>
```

#### In Node.js

```sh
# Install
npm i @lyo/rgb-hex
```

```js
const rgbHex = require('@lyo/rgb-hex')

rgbHex(foo, bar, baz, qux);
```

## Disclaimer

This automated Lyo build may have not been properly tested, and is not guaranteed to work perfectly.

Use at your own risk