2018.1

Table Of Contents
The following CSS rule applies MyColor, which is a custom color (see "Defining colors, spot
colors and tints" on page269), to the text of all paragraphs:
p {
color: MyColor;
}
CMYK colors
You may use the custom cmyk() CSS function to assign a CMYK color to any element, or a
series of elements. The following example assigns a steel blue color as a background for all H1
elements:
h1 {
background-color: cmyk(33%, 17%, 0%, 20%);
}
Coloring text
Instead of using a style sheet (see above), you can color text locally:
1. Select text or an HTML element that contains text (see "Selecting an element" on
page166).
2.
On the menu, select Format > Color, or click the black triangle on the Text color toolbar
button.
3.
Select one of the colors in the list, or click Other to set all aspects of the text style,
including text color and/or background color.
Coloring backgrounds and borders
Instead of using a style sheet (see above), you can color a background or border locally. This is
how:
1. Select an HTML element (see "Selecting an element" on page166).
2.
On the Format menu, click the element. For a div element, click Box. The Formatting
dialog opens up.
3.
Click the Border or Background tab.
4.
Click the downward pointing arrow next to Color to select a color from the list of
predefined colors (see "Defining colors, spot colors and tints" on page269).
Alternatively, click the small rectangle to the right of the color list to open the Color Picker
Page 272