The other day I was trying to do some web design according to IBM’s design guidelines. They provide color swatches as .ase files, which are read by Adobe products like Illustrator, PhotoShop, etc. I have none of these applications but I figured “hey how hard can it be to parse the file myself?”
Two days and a fair bit of hair tearing later witness palettes.mybluemix.net!
I later found out that IBM Design does provide a site that shows the same information, but by that time I was way to consumed with the problem. That happens sometimes. But hey, now I can look at any .ase file! And so can you!
first, I think this is awesome, thanks
next, what I’m looking for (and how I ended up here) is a way to parse the ASE file into a CSV, or some way I can turn the palette into a spreadsheet with the color names and their (ideally) CMYK values
any ideas?
This nodejs project contains the code necessary to parse the file:
https://github.com/hughsk/adobe-swatch-exchange
From there you could write it out to a CSV.
Alternatively you could upload your palette to palettes.mybluemix.net, see the key it’s assigned then point your browser to:
http://palettes.mybluemix.net/palette?key=keyGoesHere
And parse the JSON.
For example, for this palette:
http://palettes.mybluemix.net/#?key=db8d3670-f086-4483-b5a8-5d061b34ed58
The relevant JSON is:
http://palettes.mybluemix.net/palette?key=db8d3670-f086-4483-b5a8-5d061b34ed58