Inkscape
How to create a color palette in inkscape?
Inkscape extension to generate color palettes from selected objects’ color properties. Create objects with color properties set, can be fill and/or stroke color. Select them and from the Extensions menu choose Palette and Generate. Provide a name and select the color property to grab colors from.