# Swatch Methods

The swatch method is a set of functions which create or manipulate document swatches.

# Creating a New Swatch

When creating a new swatch with Darty-Ai, it is important to specify the swatch name and color values. You can create a new swatch by providing the desired color values in RGB, CMYK, or other color modes.

# Changing Values of Global Swatches

In Adobe Illustrator, global swatches are colors that, when modified, automatically update all instances of that color in the document. The swatch method allows you to change the values of these global swatches from a spreadsheet.

Last Updated: Dec 28, 2025, 22:24:23