Files
OpenPaletteGenerator/README.md

33 lines
859 B
Markdown

# 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)