Place Color Chips
place_color_chipsExtract every unique color from a document and place labeled chip swatches outside the artboard to create a visual color palette.
Instructions
Extract all unique colors from the document and place color chip swatches with labels outside the artboard
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | Place chips to the right or below the artboard | right |
| chip_size | No | Chip size in points (default: 30) | |
| layer_name | No | Layer name for color chips | Color Chips |
| include_info | No | Include color value labels next to chips | |
| artboard_index | No | Target artboard (default: active artboard) | |
| coordinate_system | No | Coordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native coords, origin at bottom-left, Y-up. Call get_document_info to check which system is active. |