mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-02 06:07:06 -06:00
Object > Plug-ins > Color Effects > Find Nearest Swatch... picks a library (the document's swatches, a built-in library, or a library or colour book the user saved or loaded) and Fill and Stroke, and lists each colour of the selection with its three closest swatches and their CIEDE2000 difference. Apply gives each colour its nearest swatch as one undo step. - addon.color.nearestSwatch (a query): the closest swatches of a library to each colour of the selection's fills and strokes (solid colours and gradient stops, inside groups and type), or to a colour given, with deltaE; count 1..50. - addon.color.applyNearestSwatch: recolours those paints (and gradient meshes) to their nearest swatch; global and spot swatches link, and a library's swatches the colours take are added to the document first (as swatch.library.add adds them), so a spot colour stays spot. - The library picker Image Trace's Document Library uses moves to the Swatches panel module and is shared. - No colour book data ships: only libraries VectorCraft computes or the user loads are searched.