PHPackages                             seinopsys/rgbacolor - 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. seinopsys/rgbacolor

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

seinopsys/rgbacolor
===================

A flexible class for parsing/storing color values

v1.0.0(8y ago)09131MITPHPPHP &gt;=7.1CI failing

Since Oct 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/SeinopSys/RGBAColor)[ Packagist](https://packagist.org/packages/seinopsys/rgbacolor)[ RSS](/packages/seinopsys-rgbacolor/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

RGBAColor Class [![Build Status](https://camo.githubusercontent.com/03d1a0e78f1e5f21e600a73bc08d7f253c28028f9424b3fa5b9720277a6aaa9a/68747470733a2f2f7472617669732d63692e636f6d2f5365696e6f705379732f52474241436f6c6f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/github/SeinopSys/RGBAColor)
===============================================================================================================================================================================================================================================================================================================

[](#rgbacolor-class-)

A flexible class for parsing/storing color values

Installation
------------

[](#installation)

```
composer require seinopsys/rgbacolor:1.*

```

Usage
-----

[](#usage)

```
use SeinopSys\RGBAColor;

$red = RGBAColor::parse('#f00');
$green = new RGBAColor(0, 255, 0);
$transparentBlue = new RGBAColor(0, 0, 255, .5);
$purple = (string)$green->invert();
$black = $red->setRed(0)->toHex();
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

3122d ago

### Community

Maintainers

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

---

Top Contributors

[![SeinopSys](https://avatars.githubusercontent.com/u/3200580?v=4)](https://github.com/SeinopSys "SeinopSys (7 commits)")

---

Tags

colorcolorshexphpphp71rgbrgbautility-classes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/seinopsys-rgbacolor/health.svg)

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

###  Alternatives

[johnpbloch/wordpress

WordPress is open source software you can use to create a beautiful website, blog, or app.

6079.5M470](/packages/johnpbloch-wordpress)[typo3/cms-form

TYPO3 CMS Form - Flexible TYPO3 frontend form framework that comes with a backend editor interface.

147.1M185](/packages/typo3-cms-form)[phpsa/laravel-yourls-plugin

Plugin which integrates Laravel with Yourls (Your Own URL Shortener).

172.9k](/packages/phpsa-laravel-yourls-plugin)

PHPackages © 2026

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