Videos/Create color palette

Foreword
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


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 (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 [[Media:201907_ENLOHB_Farben und Farbpalette 03.png|selection]] of Color palettes also works.


 * Custom
 * Document colors

In previous versions of LibreOffice (for example, 5.2), there was a menu item 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 :

~/.config/libreoffice/4/user/config/

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,

~/.config/libreoffice/4/user/config/

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:

  

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.

Note Remember to back up your newly created soc files

- Go to top -

Add a color in the Custom color palette


Example: Writer, paragraph style, Custom color palette.


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

Step 2. repeat for other colors you want.

When you have entered all the colors you want click.

See also: Colors

- Go to top -

Examples of self-created soc files
When downloading the files have the extension odt.

Note If you have one of the files stored on your computer, you must change the file extension to soc.



[[Media:My_palette_01.odt|My_palette 01.soc]]

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

[[Media:My_palette_02.odt|My_palette 02.soc]]

Contains tonal values adjusted for different colors.

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 (genealogy.net)

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

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

The RGB color space
Explains the RGB-Farbraum (in German).

The CMYK colour model
Explains the CMYK-Farbmodell (in German).

Documentation / Manuals
Here you will find the Documentation / Manuals:

https://documentation.libreoffice.org/en/english-documentation/

Any questions?
For questions on this topic go to:

Ask.LibreOffice

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

Get Involved

Donate
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 -