PHPackages                             arcanedev/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. arcanedev/color

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

arcanedev/color
===============

PHP Helper for manipulating colors (Laravel 5.x supported).

2.0.0(8y ago)42.1k2MITPHPPHP &gt;=7.1.3

Since Oct 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ARCANEDEV/Color)[ Packagist](https://packagist.org/packages/arcanedev/color)[ Docs](https://github.com/ARCANEDEV/Color)[ RSS](/packages/arcanedev-color/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (8)Dependencies (4)Versions (12)Used By (0)

Color [![Packagist License](https://camo.githubusercontent.com/275d821d923c172435bfd47ee8ac5736e44e8faea19837c7907016b8703cedd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617263616e656465762f636f6c6f722e7376673f7374796c653d666c61742d737175617265)](LICENSE.md) [![For PHP](https://camo.githubusercontent.com/cdc03b34bee04f3c6afe99b47173b09d65b92d88b04aded32b3b8cc5e12ecee9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d4672616d65776f726b25323061676e6f737469632d3446354239332e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Color)
=========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#color--)

[![Travis Status](https://camo.githubusercontent.com/29dc75fd0536a336f1383844f8405ba7994cacfd619cf4b5ad9362f0329fe2de/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f415243414e454445562f436f6c6f722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ARCANEDEV/Color)[![Coverage Status](https://camo.githubusercontent.com/e18a63933533649d53fed6db3ae13be40fec7311a370c844b56d34bfbecd6fa0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f415243414e454445562f436f6c6f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Color/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/5d928c2d187b205c71c1873e8043f219f5c5fcccde96bed27d9781bdad3b675d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f415243414e454445562f436f6c6f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Color/?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/db36dfb200bc41b9075ccb38438cb6292c8d64760cc605456902212d8ee0fe83/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f33306634666330652d336466322d346362642d623839632d3230326435316339633263322e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/30f4fc0e-3df2-4cbd-b89c-202d51c9c2c2)[![Github Issues](https://camo.githubusercontent.com/acdbf55043257366df9e2746aa8f2c85eaa620abaa57ee8ed89ca26eb7a06519/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f415243414e454445562f436f6c6f722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Color/issues)

[![Packagist](https://camo.githubusercontent.com/fd7e8b46966d94b11ac9d2b95e0d3426503677f1cc2c3d2a6d9b6286b02d5185/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d617263616e656465762f636f6c6f722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/color)[![Packagist Release](https://camo.githubusercontent.com/d7f8e546a3e864bb76239d9273b22f35748893d81dac2843d14d9264dbdc31c9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617263616e656465762f636f6c6f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/color)[![Packagist Downloads](https://camo.githubusercontent.com/339ca9b297dd89d7657340e12057362b993e5acb606221275ba161494098730e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617263616e656465762f636f6c6f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/color)

*By [ARCANEDEV©](http://www.arcanedev.net/)*

PHP Helper for manipulating colors.

Feel free to check out the [releases](https://github.com/ARCANEDEV/Color/releases), [license](LICENSE.md), and [contribution guidelines](CONTRIBUTING.md).

### Features

[](#features)

- Framework agnostic package.
- Easy setup &amp; configuration.
- Multiple color **Converters** and **Validators**: `HEX`, `RGB`, `RGBA`, `HSL`.
- Well documented &amp; IDE Friendly.
- Well tested with maximum code quality.
- Laravel `5.0 | 5.1 | 5.2 | 5.3 | 5.4 | 5.5 | 5.6` are supported.
- Made with ❤️ &amp; ☕.

Table of contents
-----------------

[](#table-of-contents)

1. [Installation and Setup](_docs/1-Installation-and-Setup.md)
2. [Usage](_docs/2-Usage.md)

Contribution
------------

[](#contribution)

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [ARCANEDEV](https://github.com/arcanedev-maroc)
- [All Contributors](https://github.com/ARCANEDEV/Color/graphs/contributors)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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

Every ~49 days

Recently: every ~24 days

Total

11

Last Release

3049d ago

Major Versions

v0.4.x-dev → 1.0.02018-02-16

v1.x-dev → 2.0.02018-02-16

PHP version history (3 changes)0.1.0PHP &gt;=5.6

1.0.0PHP &gt;=7.0

2.0.0PHP &gt;=7.1.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9376707?v=4)[ARCANEDEV](/maintainers/arcanedev)[@ARCANEDEV](https://github.com/ARCANEDEV)

---

Top Contributors

[![arcanedev-maroc](https://avatars.githubusercontent.com/u/3282340?v=4)](https://github.com/arcanedev-maroc "arcanedev-maroc (35 commits)")

---

Tags

arcanedevcolorhexhsllaravelphprgbrgbalaravelvalidationcolorrgbconverterhexarcanedevhslrgbahsv

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[ozdemirburak/iris

PHP library for color manipulation and conversion.

1201.8M20](/packages/ozdemirburak-iris)[ssnepenthe/color-utils

A PHP library for performing SASS-like color manipulations.

631.2M15](/packages/ssnepenthe-color-utils)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.7M20](/packages/tecnickcom-tc-lib-color)[pacerit/laravel-polish-validation-rules

Simple Polish Validation rules for Laravel and Lumen framework

1452.9k](/packages/pacerit-laravel-polish-validation-rules)[laravel-validation-rules/ip

Validate if an ip address is public or private.

1629.7k](/packages/laravel-validation-rules-ip)[fab2s/dt0

Immutable DTOs with bidirectional casting. No framework required. 8x faster than the alternative.

101.9k1](/packages/fab2s-dt0)

PHPackages © 2026

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