The Color panel can be opened from the Panels menu or by pressing Option+C. The color panel is used to select colors for the fill and outline of the selected object. When using the gradient or the mesh gradient editors, the color panel can be used to set the color of the selected color stop or mesh node.
In the color panel, colors can be selected either numerically, by setting the color component values, or picked from a color spectrum. The color panel can also show a short list of color styles available in the document, for quick access.
A number of basic color changing tools are provided in the color panel.
- - Map the color to the closest printable color using the current CMYK profile settings. When selecting colors in a color mode other than CMYK, the color may be outside of the gamut available using the CMYK printing process. These colors are automatically mapped into the gamut when printed. Mapping the colors into the gamut from the color panel enables the correct on screen preview of the printing results.
- Clicking the widget swaps the current fill and outline colors.
- Clicking the widget sets the current target color to empty. This means that the fill or outline of the object is removed with all of its attributes.
- Clicking one of the buttons will set the current target color to black or white.
Setting the color target
The target of the color selection can be either the fill or the outline of the selected objects. The target is set using the widget in the upper-left corner of the panel.
- To set the fill of the selected objects, click on the filled box.
- To set the outline of the selected objects, click on the outlined box.
- The current color target is indicated by showing the filled or outlined box in front.
The color target also depends on the current object content selected in the Object Style panel, for more details see the Layers and Objects chapter.
Numeric color components
The color can be set by setting the color component numeric values. This allows for a precise control over the color components. The color components are set using the current color mode.
In VectorStyler, the color mode is part of the color and it is stored in the document. To automatically convert colors to the document color mode, disable the Keep Color Mode in the document color settings, accessed using the Document Setup command of the File menu. When disabled, colors are converted to the document color space. This will cause the numeric colors fields in the panel to automatically swap to the document color space, unless the Keep Color Mode menu item is checked in the color panel menu.
- The color panel contains a numeric editor for each component in the current color mode.
- The numeric color mode can be selected from the panel menu.
- Adjust the sliders or edit the numeric color amounts of each color component.
- The changes to the color are applied automatically as the editing is done.
The color can be set using the hexadecimal values of the RGB color (regardless of the current color mode). Hexadecimal color representation is common when using CSS or other web specific formats. The Hex field of the color panel can be used to read or set the hexadecimal RGB color values:
- The current color is displayed in RGB hexadecimals in the Hex field.
- To set the color, edit the hexadecimal value in the Hex field, the # prefix must be present.
- Use the clipboard (Command+C and Command+V) to copy paste hexadecimal color values into the Hex field.
The color spectrum
The color panel displays a color spectrum selector used to visually pick a color. The default color spectrum uses the HSB color space to show a hue wheel and a saturation and brightness square.
- Click on the hue wheel to select the hue of the current color.
- Click inside the square area to select the saturation and brightness of the color.
- The current color mode will not be changed when using the color spectrum selector.
The visual color spectrum selector can be changed to another color or display mode using the various Wheel and Spectrum commands of the color panel menu.
The color panel menu
The color panel menu can be selected using the panel menu button (upper-right corner of the panel). The menu contains commands used to control and extend features of the color panel menu.
- The Edit Color view opens the modal color selector view, described in the next section. The color selector view provides additional color selection features.
- The various commands suffixed with Sliders (line RGB Slider or CMYK Slider) select the color mode of the edited color, and by that the numeric color component sliders. The color sliders are automatically updated to the current color picked from the document (when selecting objects).
- The various commands suffixed with Wheel or Spectrum (like HSB Wheel or Hue Spectrum) pick an alternative visual color selection modes for the color panel.
- Show Color Styles - Set the display of color styles and presets of the current document in the color panel. By default, a document contains no color styles. If a color style or preset is defined, these can be quickly accessed from the bottom of the color panel, when the Show Color Styles option is enabled.
- Show Hex Color - Enable or disable the display of the hexadecimal color editing widget. This option is enabled by default.
- Keep Color Mode - Keep the color mode in the panel fixed, regardless of the picked color mode. When enabled, the selected color of the document is shown using a fixed color mode picked from the panel menu. This option is disabled by default, meaning that the color mode (and the numeric color sliders) are automatically swapped to the mode of the selected color from the document. When the Keep Color Mode option from the document color options is enabled, it is recommended to enable this option as well.
- Create Color Preset - Create a new color preset from the current color. Color presets can be stored in the document, at application level or in an external preset group.
- Color Presets - Shows a list of the available color presets. Shown when there are color presets either in the document or at application level.
- Create Color Style - Create a new color style from the current color. Color styles are stored in the document.
- Color Styles - Shows a list of the available color styles. Shown when there are color styles or objects with color role defined in the document.
Using color styles enables a more structured workflow when creating complex documents. A color style is defined once and then it is easily accessible from the various color selection tools available in VectorStyler.
When a color is used in multiple places of a document, it is recommended to define and use color styles. In this case, changing all instances of a color is simplified to a single editing of the color style.
The available color styles and presets can be shown in and selected from the color panel, using the Show Color Styles option of the color panel menu. To select a color style, just click on the box containing the color.
In VectorStyler the workflow of using color styles is further simplified by the use of objects with color roles as references. When using color roles, the fill color of the reference objects is available as a color style, without the definition of a color style.
To use color roles for color styling:
- Select an object whose fill color should be visible as a color style.
- Select the Object Options command from the Objects menu.
- Set a name for the object (will be displayed as a style name) and enable the Color role using the Role button.
- Apply the object options by pressing the Ok button.
- The various color style lists will now contain a new color style showing the object fill color.
- Use this style as a color in coloring other objects.
- IMPORTANT: do not use this color to color the original objects (with the color role), as it will lead to an empty fill (caused by self reference to the style).
- Modify the color of the object with the color role, all objects using the style are automatically updated.