Use Colors in LibreOffice
TDF LibreOffice Document Liberation Project Community Blogs Weblate Nextcloud Redmine Ask LibreOffice Donate
Foreword
The video "Farben in LibreOffice" ( "Colors in LibreOffice" ) links to this page here, which contains further information. It describes how colors are used - settings and choices.
Link to the Video
Link to the Video (in German [DE]): Farben in LibreOffice
Colors and Color palettes
Colors are defined in Color palettes. LibreOffice has several Color palettes to choose from. You can add any colors you like. And you can also create your own (user-defined) Color palettes.
Editing of Color palette
Editing a color palette using Writer as an example. Choose ▸ , ( F11 ). Right-click on a Paragraph style, for example.
Choose from the context menu. In the "Paragraph Style: xxx" dialog that opens, select the "Area" tabn. Click at button and at New select the desired color via RGB or Hex value or via the button. Then click on the button at "Custom Palette". In the dialog that opens, enter a name for your new color and click . If you previously had a color palette other than Custom set, the Custom color palette will be displayed automatically. Repeat for other colors you want. When you have entered all the desired colors you want click . See also: Colors

Create a new color
Create a new color with the color values
In the "Paragraph Style" dialog you can add new colors to the Color palette "custom" or modify existing colors. In the colored sample under "New", click in the fields for RGB and enter values such as R = 255, G = 255, B = 127. Alternatively, enter a Hex value. You click on and enter a new name, e.g. "Medium yellow". Click on and enter a new name for the color, for example, "Medium Yellow". Then you see the color in the color sample. The new color is added to the palette at the end. You have now created a new color "Medium yellow". Click .
Visually select and create a new color

However, you may prefer to select a color visually, or you may have received special specifications in the HSB (HSV) color space (for hue/saturation/brightness). To do this, select the button in the "Paragraph Style" dialog. In the "Pick a Color" dialog that opens you can now make further settings. Specify your required color, the base color above the vertical color bar. You can then click anywhere in the large Color area. The values are immediately displayed for the clicked point. You can also click, hold, and drag the point in the color swatch with the mouse. The selected color is displayed in the horizontal color bar to the left below the color swatch. If you like the color, release the mouse button and then simply click . You can make any necessary adjustments using the value fields. The color is displayed in the horizontal color bar. The selected color can then be applied using the button.
Create a new Color palette
You can also create a completely new color palette. However, this requires advanced knowledge of the operating system's directory structures and number systems. See also Create Color palette in LibreOffice.
Select color in the LibreOffice Components
In the individual components of LibreOffice the colors can be selected directly or you better use the Format Styles. Choose the Color palette "custom" to select your new colors.
Color Replacer
Texts taken from the online help:
Color Replacer
The Color Replacer can be accessed in LibreOffice Draw and Impress.
The following description uses Draw as an example.
For example, select ▸ from the menu.
This opens the "Color Replacement" dialog, which is used to replace colors in bitmap files (such as BMP, GIF, JPG or PNG) and meta-graphics (such as WMF).
Up to four colors can be replaced at the same time.
The transparency attribute is also considered a color.
You can replace transparency in an image with a color, for example, white.
This is useful if, for example, your printer driver has problems printing transparent graphics.
Conversely, you can replace a color with transparency (see-through).

In the "Example" image above, the page background is yellow in Draw. The color of the way in the landscape has been replaced with transparency, allowing the page color to show through.
To access this command
- Choose ▸ , "Pipette" icon

- In the "Color Replacer" dialog, click the Pipette icon in the upper left corner. The icon will be highlighted. You can now move your mouse cursor over the image and see how the color area next to the icon changes in the dialog according to the mouse cursor position.
- Left-click when you have found the color you want to replace. This color will be automatically entered into the first of the four lines in the "Color Replacer" dialog.
- Now, in the "Replace with" list box, select the color you want to replace the previously selected color with. This will replace all instances of the source color in the image.
- If you want to replace another color while the dialog is open, mark the check box in front of Source color in the next row and repeat steps 3 to 5.
- Click .
Color Replacer Pipette
Displays the color in the selected image that directly underlies the current mouse pointer position. This features only works if the Color Replacer tool is selected.
Replace
button replaces the selected source colors in the current image with the colors that you specify in the Replace with boxes.
رنگ
Source color check box
Select this check box to replace the current Source color with the color that you specify in the Replace with box.
Source color
Displays the color to be replaced in the selected graphic. To specify the source color, first click here, then on the Pipette, and then on one of the colors in the selected graphic.
Tolerance
Set the tolerance for replacing a source color from the image. To replace colors that are similar to the color that you selected, enter a low value. To replace a wider range of colors, enter a higher value.
Replace with
Lists the available replacement colors. To edit, select a color palette of your choice and click on the desired color.
Transparency
Check the "Transparency" box. Select a color to replace transparent areas in the current graphic. Replaces transparent areas in the current graphic with the specified color. The graphic must be selected.
Documentation / Manuals
Here you will find the Documentation / Manuals: Documentation / Manuals