PHPackages                             matatirosoln/pantone-converter - 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. matatirosoln/pantone-converter

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

matatirosoln/pantone-converter
==============================

Convert from a named Pantone coated colour to Hex, RGB or CMYK variants

0.0.1(5y ago)0420↑28.6%1MITPHPPHP &gt;=7.2

Since Sep 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/matatirosolutions/pantone-converter)[ Packagist](https://packagist.org/packages/matatirosoln/pantone-converter)[ RSS](/packages/matatirosoln-pantone-converter/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (1)

Pantone Converter
=================

[](#pantone-converter)

Convert a PANTONE® Coated colour to Hex, RGB or CMYK.

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

[](#installation)

```
composer require matatirosoln/pantone-converter
```

Usage
-----

[](#usage)

```
use MSDev\PantoneConverter\PantoneConverter;

$colour = PantoneConverter::ColourFromName('100-C');

print $colour->hex(); // outputs F6EB61

$rgb = $colour->rgb(); // RGB object
print $rgb->green(); // outputs 246

print $colour->cmyk()->magenta(); //outputs 4.0
```

License
-------

[](#license)

Copyright © 2020, Matatiro Solutions. Licensed under the [MIT License](LICENSE.md).

Notes
-----

[](#notes)

- PANTONE® is a registered trademark of [Pantone Inc](https://www.pantone.com/).
- Conversion of Pantone to Hex from [Code Beautify](https://codebeautify.org/pantone-to-hex-converter)
- Conversion from Hex to RGB using PHP `sscanf()`
- Conversion from RGB to CMYK based on [this Stackoverflow answer](https://stackoverflow.com/a/52156593)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

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

2121d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9415101?v=4)[Matatiro Solutions](/maintainers/matatirosolutions)[@matatirosolutions](https://github.com/matatirosolutions)

---

Top Contributors

[![steveWinter](https://avatars.githubusercontent.com/u/1171712?v=4)](https://github.com/steveWinter "steveWinter (1 commits)")

---

Tags

rgbhexcolorscmykpantone

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matatirosoln-pantone-converter/health.svg)

```
[![Health](https://phpackages.com/badges/matatirosoln-pantone-converter/health.svg)](https://phpackages.com/packages/matatirosoln-pantone-converter)
```

###  Alternatives

[ozdemirburak/iris

PHP library for color manipulation and conversion.

1201.9M23](/packages/ozdemirburak-iris)[tecnickcom/tc-lib-color

PHP library to manipulate various color representations

247.9M25](/packages/tecnickcom-tc-lib-color)[ssnepenthe/color-utils

A PHP library for performing SASS-like color manipulations.

631.2M16](/packages/ssnepenthe-color-utils)

PHPackages © 2026

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