PHPackages                             projekod/colorpalette - 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. projekod/colorpalette

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

projekod/colorpalette
=====================

Makes color palette from a picture

0.0.1(7y ago)30192MITPHPPHP &gt;=5.3.0

Since Nov 6Pushed 7y ago6 watchersCompare

[ Source](https://github.com/Projekod/ColorPalette)[ Packagist](https://packagist.org/packages/projekod/colorpalette)[ Docs](https://github.com/Projekod/ColorPalette)[ RSS](/packages/projekod-colorpalette/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Color Palette
==============

[](#color-palette)

Makes color palette from a picture.

**Test image** :

[![colorPalette Test img](https://camo.githubusercontent.com/ece3d609fd7d6dccf982a2e11f2a3686a9d18eb3a20f29082ef96cec0bd11f5b/68747470733a2f2f7261772e6769746875622e636f6d2f50726f6a656b6f642f436f6c6f7250616c657474652f6d61737465722f746573742e6a7067)](https://camo.githubusercontent.com/ece3d609fd7d6dccf982a2e11f2a3686a9d18eb3a20f29082ef96cec0bd11f5b/68747470733a2f2f7261772e6769746875622e636f6d2f50726f6a656b6f642f436f6c6f7250616c657474652f6d61737465722f746573742e6a7067)

**usage** :

```
$pkc = new pk_color();
$palette = $pkc->setGranularity(10)
    ->setPicture("test.jpg")
    ->setColorsCount(30)
    ->getIt();
```

**return array** :

```
Array
(
    [0] => 660099
    [1] => FFCC66
    [2] => 9966FF
    [3] => 336633
    [4] => CCFFFF
    [5] => 6666FF
    [6] => 6633CC
    [7] => CC66FF
    [8] => 33CC99
    [9] => FFCC33
    [10] => 33CC66
    [11] => 339966
    [12] => FF9966
    [13] => FF9933
    [14] => FFFF66
    [15] => 663399
    [16] => FF3399
    [17] => 6666CC
    [18] => FFFFFF
    [19] => 9933CC
    [20] => 333333
    [21] => FF9999
    [22] => FF3366
    [23] => FF66CC
    [24] => 99FFFF
    [25] => 339933
    [26] => 009933
    [27] => FF6666
    [28] => 660066
    [29] => 6699FF
)
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

2743d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5004673?v=4)[Projekod Interactive](/maintainers/projekod)[@Projekod](https://github.com/Projekod)

---

Top Contributors

[![aligundogdu](https://avatars.githubusercontent.com/u/683384?v=4)](https://github.com/aligundogdu "aligundogdu (13 commits)")[![adililhan](https://avatars.githubusercontent.com/u/949535?v=4)](https://github.com/adililhan "adililhan (4 commits)")

---

Tags

colortoolscolourpalette

### Embed Badge

![Health badge](/badges/projekod-colorpalette/health.svg)

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

###  Alternatives

[spatie/color

A little library to handle color conversions

38018.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)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M16](/packages/vaimo-composer-patches)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

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

A slick color picker fieldtype plugin for the Craft CMS 3 control panel.

2132.1k](/packages/presseddigital-colorit)[tractorcow/silverstripe-colorpicker

Color picker field for Silverstripe CMS using the ColorPicker jQuery plugin

18250.8k13](/packages/tractorcow-silverstripe-colorpicker)

PHPackages © 2026

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