Mobile app version of vmapp.org
Login or Join
Murphy569

: How to Generate Swatch Library from Json file? I'm looking for a way to generate a swatch library from a JSON file in Adobe Photoshop CS6. Unfortunately, I can't seem to find anything on the

@Murphy569

Posted in: #AdobePhotoshop #ColorSpaces #Cs6 #PhotoshopScripting

I'm looking for a way to generate a swatch library from a JSON file in Adobe Photoshop CS6. Unfortunately, I can't seem to find anything on the web about this, and I don't know how to write my own plugin/script that will do this for me.

If there is a free script/plugin out there that will do this can you please send me the link. If nothing exists can you direct me to a place where I can find a template for a Photoshop CS6 script and to some sample code that can make a swatch from a given name and RGB values?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Murphy569

1 Comments

Sorted by latest first Latest Oldest Best

 

@Phylliss782

the simplest method to import a swatch from an external file is to have an HTML with all the colors - HEX or RGB format.


Click the Menu on the Swatches panel.
Select in the menu "Load swatches".
Find your HTML file with all the colors and import it.




<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>

<body>
#112233 , rgb(1,2,3)
</body>
</html>


In your swatches you will have the new colors - #112233 and #010203 .

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme