Skip to content

Conversion table for Pantone PMS to CMYK, RGB, and Hex values

License

Notifications You must be signed in to change notification settings

arturtorun/Pantone-CMYK-RGB-Hex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pantone-CMYK-RGB-Hex

About

Conversion table for Pantone PMS to CMYK, RGB, and Hex values.

The index.html file is completely self contained. Just drop it onto a server and it will work, all the CSS is either in the head, or inline. I know inline css is "A Bad Thing", but it was far simpler to add the bottom border colour inline for each colour.

The .json file is an array of all the Pantone colours, including the PMS code, CMYK values, RGB values, and Hexadecimal values.

The dynamic-create.php file does what it says on the tin; it iterates through the .json file and dynamically creates the html you will find in index.html.

Please note that the colours on your screen may display very differently to those you print. That is the whole reason for colour matching systems like Pantone in the first place. This is merely meant to be a rough guide to what colour you can expect.

Let me know if I've missed anything!

To-Do

Set up a php script that only outputs results of a search. This would use "dynamic-create.php" with some input variables.

Acknowledgments

I used the excellent PocketGrid CSS framework to make the swatches flow nicely.

I used the Pantone to CMYK reference at Excalibur Creations, then calculated the RGB, and therefore Hex, values using the equations at Rapid Tables

About

Conversion table for Pantone PMS to CMYK, RGB, and Hex values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 98.4%
  • PHP 1.2%
  • Other 0.4%