Jump to content

Use Colors in LibreOffice

From The Document Foundation Wiki
This page is a translated version of the page Videos/Use Colors in LibreOffice and the translation is 0% complete.
Outdated translations are marked like this.

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 View ▸ Format Styles, ( F11 ). Right-click on a Paragraph style, for example.

Note:
Instead of the Paragraph Style, any other Format Style that allows the color settings can be used. The Format Style used for creating colors should not be changed either. It is only here a tool for color setting.

Choose Edit Style from the context menu. In the "Paragraph Style: xxx" dialog that opens, select the "Area" tabn. Click at Color button and at New select the desired color via RGB or Hex value or via the Pick button. Then click on the Add button at "Custom Palette". In the dialog that opens, enter a name for your new color and click OK. 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 Cancel. See also: Colors

in the "Paragraph Style" dialog pick a Color

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 Add and enter a new name, e.g. "Medium yellow". Click on Add 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 OK.

Visually select and create a new color

"Pick a Color" dialog

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 Pick 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 OK. 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 Add 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 Extras ▸ Color Replacer 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).

"Color Replacer" dialog with example

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

  1. Choose Tools ▸ Color Replacer, "Pipette" icon
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. Click Replace.

Note:
If you want to expand or contract the color selection area, increase or decrease the "Tolerance" (in % of the source color value) of the Color Replacer tool and repeat your selection.

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

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.

Further Informations

Online help

Color Replacer Replacing Colors

Documentation / Manuals

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

کوئی سوال؟

شامل تھیوو

عطیہ دان کرو