Merge Similar Colors
This is an utility script for Merging color pots that are close in RGB values.
The script meant to consolidate color palette after importing *.ai file created with auto-tracing in Adobe Illustrator.
Any gradient and color pots with transparency will be ignored. The script is compatible with Harmony Premium 15 and up.
- v1.01 – “drawing.elementMode” attribute is changed to “drawing.ELEMENT_MODE” to accomodate Harmony 22 update.
Installation:
- Click on the Download button above. The GitHub page for this script will open.
- On the page, click on the Code button then choose Download Zip from the menu.
- Locate to your user scripts folder (a hidden folder).
- There is a folder named src inside the zip file. Copy all its contents directly to the folder above.
- In Harmony, add PAL_Merge_Similar_Colors function to any toolbar.
Direction:
- In Colour view, select a palette in which has colors you want to merge similar color pots together.
- Run PAL_Merge_Similar_Colors.
- On the dialog, Set maximum difference of RGB values between 1 and 255. This value will be used as a tolerance for merging color pots.