# 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 for GIMP and Inkscape - Scribus xml - Krita kpl (coming soon) ### Swatchos This project came about from the need of open source palettes for the colour swatch cards (Swatchos) available from [Basallt](https://basallt.com/products/swatchos). The only palette available for download is in Adobe CC (ASE) format, which there are projects that aim to convert this. Each not up to date and not easily used. So I took the the table of swatches and produced the CSV, then created this to generate the different palettes for the different software that I use. This will be able to be used with any CSV that follows the example ## Usage & Requirements Currently this should run on any version of python 3 or above python main.py "file_format" "input_csv" "palette_name" Where "file_format" could be: - gpl : GIMP / Inkscape RGB Palette - scribus : Scribus CMYK XML Palette Where "input_csv" would be your input csv as in swatchos.csv Where "palette_name" 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)