Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iagobelo/parse-hex-to-rgba

A tiny library to convert HEX colors to RGBA.
https://github.com/iagobelo/parse-hex-to-rgba

hex javascript rgba typescript

Last synced: about 6 hours ago
JSON representation

A tiny library to convert HEX colors to RGBA.

Awesome Lists containing this project

README

        

# Parse Hex To RGBA

[![Build Status](https://travis-ci.org/iagobelo/parse-hex-to-rgba.svg?branch=master)](https://travis-ci.org/iagobelo/parse-hex-to-rgba)
[![License](https://badgen.net/github/license/iagobelo/parse-hex-to-rgba)](./LICENSE)
[![Library minified size](https://badgen.net/bundlephobia/min/parse-hex-to-rgba)](https://bundlephobia.com/result?p=parse-hex-to-rgba)
[![Library minified + gzipped size](https://badgen.net/bundlephobia/minzip/parse-hex-to-rgba)](https://bundlephobia.com/result?p=parse-hex-to-rgba)

## Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

```sh
npm install parse-hex-to-rgba --save

# For Yarn, use the command below.
yarn add parse-hex-to-rgba
```

### Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

```html

// UMD module is exposed through the "parseHexToRgba" global variable.
console.log(parseHexToRgba);

```

## Documentation

[Documentation generated from source files by Typedoc](./docs/README.md).

## License

Released under [MIT License](./LICENSE).