Skip to main content

There is no data in API response by which I can determine the exact color of a design if fills is Figma.mixed. I am working on a plugin and this seems to be an issue that has been bothering me for a very long time.

Need your help guys!

If you’re referring to mixed fills from a text node, then that means some characters have different fills from other characters. There are text-node-specific APIs that let you get more information:

figma.com

Mixed fills can exist not only on text. Here is a more extensive answer with a code example.


How do you do it with non text nodes?


For vector nodes you can use vector network:

figma.com