PHPackages                             projekod/roundcolor - 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/roundcolor

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

projekod/roundcolor
===================

It finds the nearest base color of given color from the given base color list

22263PHP

Since Jun 23Pushed 4y ago4 watchersCompare

[ Source](https://github.com/Projekod/RoundColor)[ Packagist](https://packagist.org/packages/projekod/roundcolor)[ RSS](/packages/projekod-roundcolor/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Round Color
============

[](#round-color)

It finds the nearest base color of given color from the given base color list.

**Test image** :

[![RoundColor Test img](https://camo.githubusercontent.com/1a56bec6fb92cebfac1e121d07f5dbbaae80febff35312425dca3f8615e57bf1/687474703a2f2f692e696d6775722e636f6d2f72693532656b432e6a7067)](https://camo.githubusercontent.com/1a56bec6fb92cebfac1e121d07f5dbbaae80febff35312425dca3f8615e57bf1/687474703a2f2f692e696d6775722e636f6d2f72693532656b432e6a7067)

**Base Colors** :

```
    "964b00"   //Brown
    "000000"   //Black
    "403d3f"   //smoked (Turkish : Füme )
    "808080"   //Gray
    "f5f5dc"   //Beige (Turkish : Bej )
    "ffffff"   //White
    "ffcbdb"   //Pink
    "ff00ff"   //Fuchsia (Turkish : Fuşya )
    "9370db"   //Purple
    "b03060"   //Claret Red (Turkish : Bize her yer trabzon! )
    "0000ff"   //Blue
    "40e0d0"   //Turquoise
    "00ff00"   //Green
    "ffff00"   //Yellow
    "ff7f00"   //Orange
    "ff0000"   //Red
```

**usage** :

```
$color = "#f3f3dd";

$PKR = new PKRoundColor();
$roundedColor = $PKR->getRoundedColor($color);
echo $roundedColor;
```

**Return Value** :

```
#f5f5dc
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 71.4% 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://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 (10 commits)")[![adililhan](https://avatars.githubusercontent.com/u/949535?v=4)](https://github.com/adililhan "adililhan (3 commits)")[![shibby](https://avatars.githubusercontent.com/u/291643?v=4)](https://github.com/shibby "shibby (1 commits)")

### Embed Badge

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

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

###  Alternatives

[fntneves/laravel-transactional-events

Transaction-aware Event Dispatcher for Laravel

3202.6M2](/packages/fntneves-laravel-transactional-events)[ipinfo/ipinfo

The official PHP library for IPinfo, the most reliable, accurate, and in-depth source of IP address data available anywhere. We process terabytes of data to produce our custom IP geolocation, company, carrier and IP type data sets. Visit our developer docs at https://ipinfo.io/developers.

2891.2M11](/packages/ipinfo-ipinfo)[typo3/cms-recordlist

TYPO3 CMS Recordlist - Lists database records in the TYPO3 backend module (Web&gt;List).

178.0M48](/packages/typo3-cms-recordlist)[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.0M27](/packages/neos-eel)

PHPackages © 2026

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