Skip to content

matatirosolutions/pantone-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pantone Converter

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

Installation

composer require matatirosoln/pantone-converter

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

Copyright © 2020, Matatiro Solutions. Licensed under the MIT License.

Notes

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages