PHPackages                             alcamo/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. alcamo/color

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

alcamo/color
============

Color manipulation based on ozdemirburak/iris

0.1.0(3mo ago)04Apache-2.0PHPPHP 7.3 - 8.0

Since Feb 4Pushed 3mo agoCompare

[ Source](https://github.com/rv1971/alcamo-color)[ Packagist](https://packagist.org/packages/alcamo/color)[ RSS](/packages/alcamo-color/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Usage example
=============

[](#usage-example)

```
use alcamo\color\ColorFactory;
use OzdemirBurak\Iris\Color\Hsv;

$colorFactory = new ColorFactory();

$shades = $colorFactory->createShadesInHsv(
    new Hsv('0, 100, 90'),
    new Hsv('60, 40, 0'),
    4
);

```

Now $shades contains an array of four Hsv objects evenly distributed between the first and the second given color (both included), i.e.

```
[
    new Hsv('0, 100, 90'),
    new Hsv('20, 80, 60'),
    new Hsv('40, 60, 30'),
    new Hsv('60, 40, 0')
]

```

Provided classes
================

[](#provided-classes)

- `ColorFactory` currently consist of the method `createShadesInHsv()`.
- `Tango` contains constants representing the [Tango color palette](https://en.wikipedia.org/wiki/Tango_Desktop_Project#Palette).

See the doxygen documentation for details.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance80

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

103d ago

### Community

Maintainers

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

---

Top Contributors

[![rv1971](https://avatars.githubusercontent.com/u/39520256?v=4)](https://github.com/rv1971 "rv1971 (1 commits)")

---

Tags

color

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/alcamo-color/health.svg)

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

###  Alternatives

[spatie/color

A little library to handle color conversions

38118.9M28](/packages/spatie-color)[mexitek/phpcolors

A series of methods that let you manipulate colors. Just incase you ever need different shades of one color on the fly.

5003.6M18](/packages/mexitek-phpcolors)[mistic100/randomcolor

Generate attractive random colors

2431.4M6](/packages/mistic100-randomcolor)[kartik-v/yii2-widget-colorinput

An enhanced Yii 2 widget encapsulating the HTML 5 color input (sub repo split from yii2-widgets)

324.8M10](/packages/kartik-v-yii2-widget-colorinput)[ssnepenthe/color-utils

A PHP library for performing SASS-like color manipulations.

631.1M10](/packages/ssnepenthe-color-utils)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.2M9](/packages/tecnickcom-tc-lib-color)

PHPackages © 2026

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