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

ActiveLibrary

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

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

23263PHP

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 today

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)
```

PHPackages © 2026

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