Fields in LibreOffice Writer allow you to add data that changes to a document, such as the current date or total number of pages in a document, and to insert and calculate formulas. By default, fields are highlighted in gray.

Related: How to Use the Built-in Calculator in LibreOffice Writer

You can hide the shading if you don’t want fields to be highlighted. The color of the shading can be changed as well. This is useful if the default gray shading is too dark for you---you can select a lighter color instead. In the image below, for example, we used the Formula bar to calculate some equations, and the results are inserted as fields highlighted in gray.

01_field_shading_on

Let's say we want to change that. Start by opening the View menu. Notice that when field shading is showing, the icon on the Field Shadings option is highlighted in blue. To hide field shading, click the “Field Shadings” option to de-select it. You can also press Ctrl+F8 on your keyboard.

01a_view_menu_field_shadings_on

The fields in your document will no longer be shaded.

03_field_shading_off

When field shading is not showing, the Field Shadings option on the View menu is not highlighted at all. To show field shading again, simply select “Field Shadings” again, or press Ctrl+F8.

02_view_menu_field_shadings_off

If you still want to show the field shading, but you don’t like the default gray color, you can change the color. To do this, go to Tools > Options.

04_selecting_tools_options

Under LibreOffice, click “Application Colors”. Make sure the “Field shadings” box is checked and then select a color from the drop-down list to the right of the Field shadings option.

05_selecting_a_field_shading_color

Click “OK” when you’re done.

06_clicking_ok_on_options_dialog

The field shading changes to the selected color. The light yellow we chose makes it a bit easier to read the highlighted text on the fields.

07_field_shading_color_changed

The Field shading check box and color selector affects all the programs in LibreOffice. When you show or hide the field shadings, or change the color, in one program, the changes affect all the other LibreOffice programs, where applicable.