This script enables you to seamlessly import color palettes from Figma into Illustrator, ensuring consistency across both tools.
{
"example_color_1": "rgb(0, 113, 114)",
"example_color_2": "rgb(242, 147, 37)",
"example_color_3": "rgb(217, 79, 4)"
}
To export colors from Figma, use the "Color Import/Export" plugin:
- Select the styles you want to export.
- Copy the JSON to your clipboard.
- In Illustrator, run the script and paste the JSON when prompted.
This script helps you create a visual color guide from selected swatches in Illustrator.
- Select the swatches from the Swatches panel (
⚠️ Warning: global colors cannot be used) - Run the script.
- The script generates groups of rectangles for each selected color, displaying their HEX, RGB, and HSL values.