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

https://github.com/secit-pl/text-to-color

Make a RGB color from a given string
https://github.com/secit-pl/text-to-color

Last synced: 4 months ago
JSON representation

Make a RGB color from a given string

Awesome Lists containing this project

README

        

# Simple text to RGB color converter

This library allows to create RGB color from a given string.
The usage is as simple as possible (one line). The returned value
for each string will be the same for each execution so it's ideal
for generating dedicated user color from his/her name/username/email etc.

## Installation

From the command line run

```
$ composer require secit-pl/text-to-color
```

## Usage

```php