Create a new color palette

From The Document Foundation Wiki
Jump to navigation Jump to search
Other languages:
Deutsch • ‎English

This page is in Work!


This description refers to the version LibreOffice 6.1.3.

The video "LibreOffice Farbpaletten" (in German [DE]) links to this page here, which contains further information and details.

The basis for this page is the LibreOffice documentation.

Link to the Video

Link to the Video (in German [DE]):

Eine Farbpalette erstellen in LibreOffice 6

Colors and Color palettes

Color palette "Standard"

Colors are set in Color palettes in LibreOffice.

The term "Color palette" is used analogously to "Color table" and "Color list".

LibreOffice is by default equipped with a so-called "standard" Color palette.

You can also create your own custom Color palettes.

When a color palette is selected, in addition to the colors of the Color palette, you can also create Custom Colour(s) within a Color palette.

Color palettes in LibreOffice

Color palettes are stored as files and have the extension "SOC". These are just standard text files and if you open these files, you'll see that they start with xml version="1.0" encoding="UTF-8".

On Windows 10, these "SOC" files are stored in the following location and they are for all users:

C:\Program Files\LibreOffice\share\palette\

On Linux, these "SOC" files are stored in the following location and they are for all users:

/opt/libreoffice7.1/share/palette/ (This one is for LibreOffice 7.1)

in that folder, you will find the following SOC files:

  • chart-palettes.soc
  • freecolour-hlc.soc
  • html.soc
  • libreoffice.soc
  • standard.soc
  • tonal.soc
  • and others

When working within LibreOffice, the selection of Color palettes also works.

  • Custom
  • Document colors

In previous versions of LibreOffice (for example, 5.2), there was a menu item Tools ▸ Options ▸ LibreOffice ▸ Colors that allowed you to manage Color palettes.

The concept has been changed so that in LibreOffice only the Palette with the name "custom" can be changed (this is empty for a new system).

The other Palettes are either installed with the system or added through extensions (see: Getting Started Guide, Chapter 14, Customizing LibreOffice).

Color palettes created by the user

Color palettes are stored as files and have the extension "SOC".

User-created Color palettes are stored in the so-called user profile of LibreOffice, on Windows, you can find these "SOC" files in :

C:\Users\MY USERNAME\AppData\Roaming\LibreOffice\4\user\config\

On Linux, you can find these "SOC" files in :


So each user can create his own custom Color palettes.

Create a New Color palette File

Create a new Color palette file by resaving the "standard" Color palette under a different name.

Copy standard.soc to your LibreOffice user folder.

On Windows, standard.soc is located in

C:\Program Files\LibreOffice\share\palette\

On Linux, standard.soc is located in

/opt/libreoffice7.1/share/palette/ (This one is for LibreOffice 7.1)

The LibreOffice user folder is located at

On Windows,

C:\Users\MY USERNAME\AppData\Roaming\LibreOffice\4\user\config\

On Linux,


You need give the file a new name.

Rename it to Custom.soc if you want.

Or you take one of the two sample files below and modify them. (Scroll further down in this document to see the links to My_palette 01.soc and My_palette 02.soc).

To create your own colors, you need to change the color values and color names in the file.

You can open and change the file with a simple text editor, such as Notepad, Kate or whatever your OS provides.

When you open the SOC file, you will see lines such as these:

<draw:color draw:name="C-red 1" draw:color="#FF2424"/>
<draw:color draw:name="C-red 2" draw:color="#FC4242"/>
<draw:color draw:name="C-red 3" draw:color="#F58162"/>

Each line represents a color in the color palette. You are free to change the color name and the actual color to your liking.

The colors are expressed in a hexadecimal code format.

If there are already colors with the same name but a different hex code, the name might not be displayed correctly.

In the example of the three lines above, "C-" was prefixed.

If you are not sure which colors you want to use, check out "More Info:"

Your new color palette is only available for selection in LibreOffice when LibreOffice is restarted.

 Remember to back up your newly created soc files

- Go to top -

Add a color in the Custom color palette

in the "Paragraph Style" Dialog pick a Colour - LO72

Example: Writer, paragraph style, Custom color palette.

  1. Right-click on the "Default Paragraph Style" and choose New….
    Click on the tab "Area" and choose the button Colour.
  2. At "Colours | New" select the desired color via RGB or Hex value or via the Pick….
    Click on the button Add at "Custom Palette".
    In the "Name" dialog, enter a name for your new color and click OK.

Step 2. repeat for other colors you want.

When you have entered all the colors you want click Cancel.

See also: Colors

- Go to top -

Further Information

Examples of self-created soc files

When downloading the files have the extension odt.

 If you have one of the files stored on your computer, you must change the file extension to soc.
Common - Dialogbox Download - Oeffnen von My palette 01.png

My_palette 01.soc

Contains predominantly very light pastel colors, which are well suited for backgrounds.

My_palette 02.soc

Contains tonal values adjusted for different colors.

My-Palette_01 My-Palette_02
Common - Farben - Farbpalette - My palette 01.png
Common - Farben - Farbpalette - My palette 02.png

Select color in the LibreOffice modules

The new color palette is of course available in all modules after restarting LibreOffice.

In the individual modules of LibreOffice, the new color palettes and colors can now be selected directly.

See also: Use Colors in LibreOffice 5.2

Selecting a color with displayed color values

Three color tables (examples) from the Internet with the corresponding RGB values are also a good aid here.

We find these under:

Branding_Color_Table (TDF)

Farbtabelle (Wikipedia)

Farbtabelle (

Here we can select colours as desired or take over the corresponding RGB values.

The HSB colour space

HSV-FarbraumWikipedia logo v3.svg

Explains the HSV (HSB) color space (in German).

The RGB color space

RGB-FarbraumWikipedia logo v3.svg

Explains the RGB-Farbraum (in German).

The CMYK colour model

CMYK-FarbmodellWikipedia logo v3.svg

Explains the CMYK-Farbmodell (in German).

Documentation / Manuals

Here you will find the Documentation / Manuals:

Any questions?

For questions on this topic go to:


Get Involved

Join us today and help us to make it even better!

Get Involved

LibreOffice is Free Software and is made available free of charge.

Your donation, which is purely optional, supports our worldwide community.

If you like the software, please consider a Donation.

- Go to top -