PHPackages                             secit-pl/text-to-color - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. secit-pl/text-to-color

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

secit-pl/text-to-color
======================

Make a RGB color from a given string

1.0.1(7y ago)11.7k↓74.3%MITPHPPHP &gt;=7.1.0

Since Mar 17Pushed 7y agoCompare

[ Source](https://github.com/secit-pl/text-to-color)[ Packagist](https://packagist.org/packages/secit-pl/text-to-color)[ Docs](http://secit.pl)[ RSS](/packages/secit-pl-text-to-color/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (3)Used By (0)

Simple text to RGB color converter
==================================

[](#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
------------

[](#installation)

From the command line run

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

```

Usage
-----

[](#usage)

```
