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 1mo 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

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity30

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

[kartik-v/yii2-tabs-x

A supercharged Bootstrap tabs widget with ability to align tabs in multiple ways, add borders, rotated titles, and more.

301.4M20](/packages/kartik-v-yii2-tabs-x)[dragon-code/laravel-route-names

Automatic generation of route names

259.2k1](/packages/dragon-code-laravel-route-names)[her-cat/baidu-map

百度地图 SDK.

203.2k](/packages/her-cat-baidu-map)[sciactive/requirephp

An implementation of dependency injection (like RequireJS) in PHP.

241.0k1](/packages/sciactive-requirephp)

PHPackages © 2026

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