Is there a way to compile a custom colour palette, storing all colours used in a piece of work? Such a drag to copy and paste the index every time you want to repeat the colour.
Apologies if this has already been answered.
Custom colour palette.
Re: Custom colour palette.

Welcome to InkscapeForum!
It sounds like you're looking for Swatches. Help menu > Inkscape manual > Attributes > Fill and Stroke Paint > Custom Swatches. Using the gui, Object menu > Fill and Stroke > Fill tab and the swatches button looks kind of like an empty picture frame -- just an empty square with blue "frame"

Basics - Help menu > Tutorials
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Manual - Inkscape: Guide to a Vector Drawing Program
Inkscape Community - Inkscape FAQ - Gallery
Inkscape for Cutting Design
Re: Custom colour palette.
Hi
It's quite easy to create a "custom" palette.
There are different approaches depending on your requirements.
The easiest but also most cumbersome is to "Hand-Edit" a palette file using a regular text editor.
To have a look at the included palettes in Inkscape have a look at the files in Installdir/Inkscape/Share/Palettes - where your Installdir might be C:\ProgramFiles or something similar.
The file's will have a content like this;
The numbers columns are the Red Green and Blue Component values in the range 0 to 255.
Forth Column is a Text Comment which will show up when your mouse pointer is hovering over the color in the color menu.
Another approach to generate the palette from an existing image is to use the automatic function in GIMP and copy the palette file to Inkscape.
A detailed howto; http://graphicssoft.about.com/od/gimptutorials/ss/Color-Scheme-From-Photo.htm
The palette can also be generated from a program or script - for a python approach see this; http://www.filewatcher.com/m/PaletteGen.py.2679-0.html
To change the palettes in inkscape see one image from another thread on the forum;
(This is the least documented feature in Inkscape!! ) ;

Good Luck.
RGDS
Ragnar
It's quite easy to create a "custom" palette.
There are different approaches depending on your requirements.
The easiest but also most cumbersome is to "Hand-Edit" a palette file using a regular text editor.
To have a look at the included palettes in Inkscape have a look at the files in Installdir/Inkscape/Share/Palettes - where your Installdir might be C:\ProgramFiles or something similar.
The file's will have a content like this;
Code: Select all
GIMP Palette
Name: Inkscape default
Columns: 3
# generated by PaletteGen.py
0 0 0 Black
26 26 26 90% Gray
51 51 51 80% Gray
77 77 77 70% Gray
102 102 102 60% Gray
128 128 128 50% Gray
153 153 153 40% Gray
179 179 179 30% Gray
204 204 204 20% Gray
230 230 230 10% Gray
236 236 236 7.5% Gray
242 242 242 5% Gray
249 249 249 2.5% Gray
255 255 255 White
....
The numbers columns are the Red Green and Blue Component values in the range 0 to 255.
Forth Column is a Text Comment which will show up when your mouse pointer is hovering over the color in the color menu.
Another approach to generate the palette from an existing image is to use the automatic function in GIMP and copy the palette file to Inkscape.
A detailed howto; http://graphicssoft.about.com/od/gimptutorials/ss/Color-Scheme-From-Photo.htm
The palette can also be generated from a program or script - for a python approach see this; http://www.filewatcher.com/m/PaletteGen.py.2679-0.html
To change the palettes in inkscape see one image from another thread on the forum;
(This is the least documented feature in Inkscape!! ) ;

Good Luck.
RGDS
Ragnar
Last edited by ragstian on Mon Jun 03, 2013 3:46 am, edited 1 time in total.
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
Re: Custom colour palette.
If you just want to re-use the colours from an existing object in the drawing, you can use the
tool to set the fill or stroke.

Re: Custom colour palette.
Thanks for all advice. Much appreciated:))