Replace colors

ReproScripts Core Replace colors plugin for CorelDraw

  • replace a color and all its tints throughout the work zone
  • convert images to the required color model
  • find colors in text, fountain fills, patterns and other objects
  • apply group operations: HSB adjustment, rounding and conversion

The ReproScripts Core Replace colors plugin provides fast, consistent color replacement throughout a CorelDraw document. It processes nested groups and PowerClips, fountain fills, patterns, images and other supported objects. The plugin requires an open document in CorelDraw and can be started from the ReproScripts Core command bar. ReproScripts Core command bar Once launched, it compiles a list of colors found on the current page, on all pages, or in the selected objects.

The Replace colors plugin can process colors in fountain fills, two-color patterns, hatches, black-and-white or duotone images, and other supported objects. Both fill and outline colors are included. All replacements are combined into one operation that can be reversed through Edit > Undo. Each list row shows the source color on the left and the target color on the right.

You tube WATCH VIDEO: Quick and efficient color handling in CorelDraw

Grouping colors

ReproScripts Core Replace colors plugin ~ grouping colors in the list

By default, each tint of a spot color is added as a separate entry with its percentage. Hover over the color name or sample to see the palette it belongs to. 1 Enable grouping to process the same spot color independently of its tint percentage. 2 All tints of the grouped color are then replaced while preserving their original percentages. Grouped entries are marked with the letter "G", and more information is available in a tooltip. Composite CMYK colors that use more than one channel, and colors in other models, are not grouped.

Processing text shapes

ReproScripts Core Replace colors plugin ~ collecting colors from every symbol in a text shape

For faster analysis, text objects are normally treated as single shapes with one fill and outline color. 1 CorelDraw can also assign different colors to individual characters. Enable character-by-character processing when those colors must be found and replaced. In the example, the red letter is omitted when character-level processing is disabled. 2

Working with images

ReproScripts Core Replace colors plugin ~ changing color models for images

In addition to vector artwork, the plugin can convert images between supported color models. Each image type found in the work zone (RGB, CMYK, duotone and others) is added to the list so that all matching images can be converted together. Duotone and black-and-white images can be treated either as images or as containers whose inks are replaced like vector colors. The corresponding checkboxes select the required mode.

The figure shows duotones listed as images 1, or their inks added as colors when ink processing is enabled 2. Color replacement and image conversion can be performed in the same operation. 3

Choosing target colors

For each color in the list, click the target sample and choose a replacement in the standard CorelDraw color dialog. Rows whose target differs from the source are highlighted with a pink background. For a grouped spot color, every tint is replaced by the corresponding tint of the new color.

ReproScripts Core Replace colors plugin ~ choose new color for replacement

Reset colors

ReproScripts Core Replace colors plugin ~ restore colors

Click the original color sample or the restore button 1 to reset a target color and cancel that replacement. The list-header command 2 restores all changed rows at once.

Copy/paste

ReproScripts Core Replace colors plugin ~ target color copy/paste

Right-click a target color to copy or paste it through the context menu. The complete color definition, including its model, is transferred.

Set no color

ReproScripts Core Replace colors plugin ~ set no color for fills/outlines

The plugin can also remove a fill or outline color. Click the cross on the right side of a row to set the corresponding fills or outlines to none within the selected work zone.

Color list menu

The color-list header contains commands that affect every row. "Restore all" resets all target colors, while the buttons on the right provide batch operations for target colors.

ReproScripts Core Replace colors plugin ~ colors list menu

Apply a color model

ReproScripts Core Replace colors plugin ~ restore colors

The target-colors menu lists color models that can be assigned to every compatible row. Image entries are converted as well where supported. When Duotone is selected, specify the ink color first. This makes it possible to reduce vector colors and images to a common ink; converting to Grayscale similarly maps colors to shades of black.

Adjust color settings

ReproScripts Core Replace colors plugin ~ adjust hue, brightness and saturation

Use the Brightness / hue command to adjust hue, saturation and brightness (HSB) for all target colors. The entered offsets are applied to the entire list, making it easy to lighten, darken or shift the palette consistently.

Round up tints

ReproScripts Core Replace colors plugin ~ roundup tints in colors

The plugin can round tint percentages to a selected step. This is useful for imported artwork containing many nearly identical colors. Normalizing component values simplifies the palette and can make conversion from CMYK or RGB to a manageable set of spot colors much easier. This command is available only when color grouping is disabled.

Objects included in processing

Choose whether locked objects, non-editable layers and master layers are included in processing

The filter button next to the work-zone settings controls which protected or shared objects are included. All three options are enabled by default and saved separately for this plugin. Changing an option immediately rescans the selected work zone and rebuilds the color list and object counts.

Locked objects includes locked shapes and images. The plugin temporarily unlocks matching objects, replaces their colors, and restores their locked state. Disable this option when protected artwork must remain untouched.

Non-editable layers includes objects on layers that cannot currently be edited. Required layers are temporarily made editable and then restored. Master layers includes colors used by objects on master layers; disable it when only page-specific artwork should be changed.

Top