Import colors with our Adobe XD plugin
Respresso has a powerful Adobe XD plugin that can handle much more than colors. (E.g. localizations, images and app icons). On this page, we will only discuss how it handles colors.
For more details - like installation instructions and other categories - please view the common docs.
How Respresso finds colors in your design
First of all, colors will be imported only if you kept the color category enabled in the plugin configuration screen. Find out more about these integration options here.
Respresso doesn't scan your artboards or selection to find colors. Instead, it uses your Color Assets, so it won't import colors you don't intend to add. E.g.: colors in your vector arts will not be added unless they are defined in Color Assets.
Respresso can import solid and also gradient colors from your assets, and it will use their name as the key for them. As most platforms has not
gradient definitions, Respresso is not storing gradient colors together. Instead, it imports all your stop point colors as a single color but with the
same key suffixed with the order (
You can find your design's Color Assets in the Assets panel within the left menu (
Shift + Ctrl + Y):
In this example, Respresso will import multiple colors. Including the following ones:
- Name your colors before importing them, as keys are never updated from designer tools.
- Use source code compatible (English letters, numbers, dot, underscore, hyphen etc.) naming. Like
- If you want to update a color in Respresso, just change it's color without changing the name/key.
How Respresso merges your colors with existing colors
Respresso uses a common resource merging process for all the resource categories. Here you can find how it treats colors during that process.
Adobe XD DOES NOT provide proper ids for each color style, so Respresso uses the name/key to update previously imported colors. To use this feature, you just have to update the existing color without changing the name/key so Respresso can link it to the already imported color.
For content matching (identification), Respresso uses all the RGBA values of each color. In addition to this, it can match the RGB values to find an existing color and suffix its key with the alpha value for the imported new color.