Is it possible to Create & Export a Custom Color Palette?

A group I work with has a specific set of colors they want to use. I’d like to set that up as a custom color palette and then share to the group, but I cannot even change what is listed as the “Custom” color palette.

For now, I will just make a doc with shapes in that color that people can open to have quick access to. Please let me know if there’s a better way to do this.

Thank you.

Hello,

yes - see here https://wiki.documentfoundation.org/DE/LibreOffice-6-1-3-2_Farbpaletten (there is a German and an English version)

Hint (the main three steps)

  • Create a palette file <PaletteName>.soc file containing your color definition using any text editor
  • Put the .soc file into your user profile into ../user/config subdirectory (no operating system given, hence this a bit general here)
  • Restart LibreOffice

Sample of the file format:

<?xml version="1.0" encoding="UTF-8"?>
<ooo:color-table xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ooo="http://openoffice.org/2004/office">
<draw:color draw:name="Gainsboro" draw:color="#DCDCDC" />
<draw:color draw:name="FloralWhite" draw:color="#FFFAF0" />
...
[snip]
</ooo:color-table>

Hope that helps

Thank you, Opaque, for the clear answer.

Follow up, how would I share the palette with others?

Would I copy the .soc file and send it? If so, would the recipient then save that file in the same …/user/config sub-directory in order to use it?

Would I copy the .soc file and send it?

yes


> would the recipient then save that file in the same ../user/config

yes

Thank you very much.