Thread

Thread

The <thread> element defines the color and details of an embroidery thread. It’s used wherever a thread color is needed — for example, when defining a lettering, monogram, recolor, or object.


XML structure

<thread
      color="32768"         // RGB color as integer
      code="1001"           // Optional: Thread code (free text)
      brand="Madeira"       // Optional: Thread brand (free text)
      description="Green"   // Optional: Description (free text)
/>

Color format

The color value is an integer RGB value:
  1. int colorRGB = Red + (Green << 8) + (Blue << 16)
Example:
  1. RGB (0, 128, 0) → Green
  2. color = 0 + (128 << 8) + (0 << 16) = 32768


Other attributes

Attribute
Details
code
The thread’s catalog or chart code (free text).
brand
Brand of the thread – e.g. Madeira, Isacord, etc.
description
Free-text description – e.g. ‘Emerald Green’.

  1. EWA design recipe
  2. EWA API methods overview
  3. EWA data packages overview

    • Related Articles

    • View thread collections

      The Thread Collections page allows owners to import standard thread charts in the form of TCH files. It also allows owners to create and manage thread collections for organization-wide consistency. Changes made by owners are applied globally, ...
    • About thread collections

      The Truesizer app provides a simple mechanism to assign threads from standard charts or custom thread collections to your designs. Item Notes Thread charts Thread charts are predefined sets of embroidery thread colors from various manufacturers. They ...
    • Create thread collections

      WilcomWorkspace supports a range of standard thread charts. Each chart includes a range of thread colors together with code, brand and description. You can search for a thread by code or description and assign it to selected color blocks. You may ...
    • Thread charts & color index

      In printing, colors are simple – defined by pixels or vectors. In embroidery, colors are tied to threads and needles on the machine. To show designs correctly online and to stitch them correctly in production, you need to understand how Color Index ...
    • How do you import custom thread charts?

      Scenario: I am using TrueSizer Pro so my assistant could do the Colorway for the designs that I created with EmbroideryStudio e3. I have created custom thread charts in our version of E3. Is it possible to import those custom thread charts into ...