Convert colour palettes between .ase, .aco, .act, .gpl and CSV — Step-by-step guide
Adobe swatch files, Photoshop swatches, Adobe colour tables and GIMP palettes do not open in each other's programs. SwatchBridge reads one palette in your browser and writes it in the format you need: palette to CSV or JSON, and CSV or JSON back to .ase, .aco, .act or .gpl. Names, groups and colour models are kept where the format allows. A swatch grid preview comes with every file. Nothing is uploaded.
What the sample produces
The sample is a small .ase palette written by a separate encoder, with an RGB colour, a CMYK colour, a LAB colour and a grey, in a group. SwatchBridge reads all four and writes CSV, .aco and .act. The expected hex values were worked out by hand: #ff7f50, #ff804d, #777777 and #808080. A separate reader checks the ACO colour spaces and values, the ASE blocks and the ACT table byte by byte.
- Rows
- 4 with name, model, values, hex and group
- Coral
- RGB 255 127 80, #ff7f50
- Sunset
- CMYK 0 50 70 0, #ff804d
How to use it
- Drop one palette: an Adobe Swatch Exchange (.ase), Photoshop colour swatches (.aco), Adobe colour table (.act), GIMP palette (.gpl), or a CSV or JSON palette.
- Tick the formats you need (one file per box). If you tick none, palettes give CSV and CSV or JSON give .ase. The preview shows the swatch grid and the colour values read from the file.
- Download the converted palette and the SVG swatch grid. CSV columns are name, model, values, hex and group, so you can edit the file and convert it back.
Supported files
Reads and writes one palette per run. Colour models are RGB, CMYK, LAB and Gray. .act and .gpl hold RGB only, so CMYK, LAB and Gray colours are converted to RGB and the summary says how many changed. CMYK and LAB to RGB use plain arithmetic, not an ICC profile, so the hex values can differ from a colour-managed program. Spot and global colour types are not kept in .aco, .act or .gpl; .ase writes every colour as a normal colour. A .act file holds at most 256 colours. HSB colours in .aco are converted to RGB on read. Files are read in browser memory, up to 20 MB, and palettes up to 4096 colours.