2026-04-09 16:43:28 +01:00
2026-04-09 17:35:58 +01:00
2026-04-09 17:35:58 +01:00

Open Palette Generator

Description

Takes a CSV of colour name, cmyk percentages, and hex codes and generates palette files in the format

Colour Name, C, M, Y, K, RGB Hex

  • gpl
  • scribus xml
  • krita xml (coming)

Usage

python main.py "file_format" "input_csv" "output_file"

Where "file_format" could be:

  • gpl : GIMP RGB Palette
  • scribus : Scribus CMYK XML Palette

Where "input_csv" would be your input csv as in swatchos.csv

Where "output_file" is the name of your palette, the required extension is added automatically

Where to place the swatches

Inkscape

Place the exported .gpl in $HOME/.config/inkscape/palettes

GIMP

Place the exported .gpl in $HOME/.config/GIMP/$VERSION/palettes, where $VERSION is the gimp version

Scribus

Place the outputted xml file in /usr/share/scribus/swatches (you will need to sudo or be root)

Description
A python script to generate colour palettes for Inkscape, GIMP, Krita and Scribus
Readme GPL-3.0 104 KiB
Languages
Python 100%