PHPackages                             pushparaj/colz - 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. pushparaj/colz

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

pushparaj/colz
==============

rgb / hsl / hsb / hex color conversion library

08PHP

Since Mar 9Pushed 5y agoCompare

[ Source](https://github.com/siddarthpushparaj/colz-php)[ Packagist](https://packagist.org/packages/pushparaj/colz)[ RSS](/packages/pushparaj-colz/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Usage
-----

[](#usage)

Forked from , use origignal repo

Create new color object.

```
use Colz;

# 'hex' is default color mode
$color = new Colz\Colz( '#fabada', 'hex');

# Other Available color modes
$rgb   = new Colz\Colz( [ 9, 155, 213 ],   'rgb');
$rgbF  = new Colz\Colz( [ 0.035294117647059, 0.6078431372549, 0.83529411764706 ],  'rgbF');
$rgbLI = new Colz\Colz( 629717, 'rgbLI');
$bgrLI = new Colz\Colz( 13998857, 'bgrLI');
$hsl   = new Colz\Colz( [ 197, 92, 44 ],   'hsl');
$hslF  = new Colz\Colz( [ 0.54722222222222, 0.92, 0.44 ],  'hslF');
```

Executing the tests
-------------------

[](#executing-the-tests)

MacOS / Linux

```
composer install
./vendor/bin/phpunit

```

In Windows

```
composer install
vendor\bin\phpunit.bat

```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 70% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9bcdab21937109ab94e4d684142e956f9da7433198cb1fd3c22ad2967e56734?d=identicon)[pushparaj26](/maintainers/pushparaj26)

---

Top Contributors

[![siddarthpushparaj](https://avatars.githubusercontent.com/u/5682374?v=4)](https://github.com/siddarthpushparaj "siddarthpushparaj (7 commits)")[![carloscabo](https://avatars.githubusercontent.com/u/3063164?v=4)](https://github.com/carloscabo "carloscabo (3 commits)")

### Embed Badge

![Health badge](/badges/pushparaj-colz/health.svg)

```
[![Health](https://phpackages.com/badges/pushparaj-colz/health.svg)](https://phpackages.com/packages/pushparaj-colz)
```

###  Alternatives

[kmlaravel/laravel-geographical-calculator

laravel package help you to implement geographical calculation, with With several algorithms that help you deal with coordinates

42685.5k2](/packages/kmlaravel-laravel-geographical-calculator)[eliashaeussler/typo3-solver

Solver - Extends TYPO3's exception handling with AI generated solutions. Problems can also be solved from command line. Several OpenAI parameters are configurable and prompts and solution providers can be customized as desired.

302.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
