PHPackages                             canvasowl/hex - 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. canvasowl/hex

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

canvasowl/hex
=============

A PHP class to generate different types of hex colors.

371PHP

Since Jul 26Pushed 6y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Hex
===

[](#hex)

### Version 1.0

[](#version-10)

Description: A PHP class to generated different types of hex colors.

#### How Do I use this

[](#how-do-i-use-this)

Using Hex is easy, simply incude the class to your project and call any of the methods.

Examples:

```
include 'hex.php';
use Canvasowl\Hex as Hex;
// Create Hex class instance
$hex = new Hex();
// Show a random color
// echo $hex->make();
// Show a light color
// echo $hex->light();
// Show a dark color
// echo $hex->dark();
// Show a cool color
// echo $hex->cool();
// Show a warm color
// echo $hex->warm();
// Show pastel color
echo $hex->pastel();

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/920903a105fd23af9aaf1e3c3db9e601f19e0eec8b96726bf0f747f4573d5240?d=identicon)[canvasowl](/maintainers/canvasowl)

---

Top Contributors

[![canvasowl](https://avatars.githubusercontent.com/u/3653748?v=4)](https://github.com/canvasowl "canvasowl (16 commits)")

### Embed Badge

![Health badge](/badges/canvasowl-hex/health.svg)

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

###  Alternatives

[cubeta/cubeta-starter

Cubeta-Starter: A developer's Swiss army knife for seamless CRUD operations. Choose between core integration or dev dependency. Enjoy a user-friendly GUI for code generation, enhancing your development workflow. Say goodbye to repetition, embrace productivity with Cubeta-Starter!

122.2k](/packages/cubeta-cubeta-starter)

PHPackages © 2026

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