The Color Palette panel can be opened from the Panels menu or by pressing Option+H. The color palette panel can be used to select the fill or outline color of the selected object, or to select the color in the edited gradient stop or gradient mesh node. An alternate form of accessing a color palette is the Color Palette Bar shown typically at the bottom of the main application view. In VectorStyler, a palette can only contain colors. To organize gradient, pattern or other fill styles use presets.
The main content in the color palette panel is a list of colors from a palette. A number of commands to manage the palette can be accessed from the panel icon section, while others are available in the panel menu. These commands are documented below.
To select a color from the palette, click on the color. The color is applied as the fill color. If the current target in the color panel is the outline color, then the color palette also applies colors as outline colors. To swap the color target temporarily, hold the Option key while clicking on the color. This will apply the color as an outline color (if the current target is fill) or a fill color (if the current target is outline).
To select one or more colors in the palette, without applying it to the selected objects, first deselect all objects from the document (by clicking in an empty canvas area), then use the Shift and Command keys to select a range or individual colors.
Renaming Multiple Colors
The color palette supports the renaming of multiple colors using text copied through the clipboard. To rename multiple colors follow these steps:
- Collect the color names in a text editor. The color names are separated by new lines (one color name in one line of text). The color names can be from arbitrary sources.
- Select the lines of text containing the color names to be used.
- Copy the selected text to the clipboard.
- Switch to VectorStyler with the color palette panel open.
- Select the colors that should be renamed (this can be a long list of colors).
- Press Command+V to paste the text from the clipboard.
- The selected colors are renamed using the lines of text.
When renaming colors in a batch, the number of lines of text (that is, the number of names) and the number of colors do not need to match. If there are more names that selected colors, then only the necessary names are used. If there are less names, then the color naming will restart from the first name, using a single color name multiple times.
The palette panel contains an icon section with quick access to commands used to manage the palette.
- - Edit the selected color. The selected color can also be edited by double-clicking the color. This opens the color selector view. Select a new color and press Ok. The selected palette color is replaced with the new color.
- - Add a new color to the palette. The button opens the color selector view, where the new color and its attributes are specified. Confirm the new color by pressing Ok. The new color is inserted at the end of the palette (scroll to the end to see the color).
- - Create a new color group in the palette. This button opens the color group view (described in the previous section) where the new group options are set. If the new color group is created from the selected palette colors, select the Palette option in the Colors field. The selected colors will be moved to the new group. Colors for the group can be extracted from the palette, the selected objects, the current canvas or the whole document.
- - Remove the selected colors from the palette. The removal of colors can be undone only if the edited palette is the document color palette.
- - Open a menu if available external palettes. External palettes can be scanned from folders and may be in formats supported by other applications, or in VectorStyler specific formats. The palette is opened in a new panel. See the Managing Palettes section on how to work with multiple palettes.
These commands control the display mode of the palette.
- Display menu contains various viewing options of the color palette. The palette can be displayed in a list showing both the color and the color name, or in a grid, showing on the color.
- Sorting menu contains sorting options when displaying the palette. These commands will not reorder the colors in the palette. The sorting is applied only for the order in which the colors are displayed.
- Unused Colors of Selection command highlights the colors in the palette that are not used in the selected objects.
- Unused Colors of Canvas command highlights the colors in the palette that are not used in the current canvas.
- Unused Colors of Document command highlights the colors in the palette that are not used in the current document.
Editing the Palette
The color palette panel menu contains a number of commands that can be used to modify the color palette.
- Register Color - Enable or disable the registering of colors into the document palette when another palette is used. It has no effect when the document palette is used. When enabled, selecting a color from an external palette will automatically add that color to the document palette as a linked process color. The color is then applied to the selected objects as a linked color.
- Edit Color - Edit the selected color from the palette. The color selector view is opened, where the replacement color can be selected.
- New Color - Append a new color to the palette, after specifying the color in the color selector view.
- Create Color Group - Create a new color group in the palette. This command is available only in the document color palette. External palettes cannot contain groups. The color group options are set in a modal view described in the previous section.
- Color Group Type menu is used to set the type of the current color group.
- Delete Groups - Remove the selected color groups.
- Delete Colors - Remove the selected colors from the palette.
- Rename Color - Rename the selected color.
- Duplicate Colors - Copy and duplicate the selected colors.
- Expand Color Groups - Move the color from the selected group into the palette and remove the color group.
Presets and Styles
The color palette panel menu contains commands that are used to create and select color presets and styles.
- Create Color Preset - Create a new color preset from the selected color.
- Color Presets - Shows a list of previously defined color presets. Select a color from this menu to apply a color preset to the selected objects.
- Create Style - Create a new color style from the selected color.
- Color Style - Shows a list of color styles and object references with the Color Style role. This menu is visible only if the list is not empty. Select a color from this menu to apply a color style or reference to the selected objects.
Color palettes can be saved and opened from files in various formats (both VectorStyler or specific to other applications).
- Show Palette - Shows a list of active palettes that can be opened in a separate palette panel.
- File Palette - Shows a list of palettes scanned from various folders containing palette files. The application preferences can be used to setup the folders used to scan the palettes.
- File Palette - Shows a list of palettes stored in active preset groups.
- Open Palette - Open an external palette file, stored in one of the supported color palette formats.
- Create from Selection - Extract colors from the selected objects and append them to the palette.
- Create from Canvas - Extract colors from the current canvas and append them to the palette.
- Create from Document - Extract colors from the current document and append them to the palette.
- Create from Image - Extract colors from an image and append them to the palette.
- Save Palette to Presets - Save the current palette as a palette preset.
- Save Selected Colors to Presets - Save the selected colors as color presets.
- Save Palette - Shows a list of palette file formats. When a file format is selected, the palette is saved into a file using the format.
- Save Selected - Shows a list of palette file formats. When a file format is selected, the selected colors are saved into a file using the format.