Blender mode and SVG problem.
Effect
blend mode-color
Drop shadow
Layer-color dadge
What’s the problem?
1 image is from the FIGMA and the second image is already in the svg site of this block.
As you can see it does not work.
Why did you change the topic? This is a bug. In FIGMA this file is different but outside it is different
Blend mode within SVG is not carried over to outside of the SVG. In Figma you see it blending with the background color, which is blue, but on the website this background color is not related to the SVG so it’s not blending with it. In the SVG, background is transparent. So it’s blending with the transparent color, and any color blending with transparent color will be transparent. This is how the HTML/SVG works, it’s not a Figma issue. There is no way Figma could fix this. You have three options here:
I changed the category on your post for multiple reasons:
We have solved the problem! I will leave this to anyone who may be useful in the future.
I did it! Blend come in the same css and I used two “path” for the shadow and the object … it was possible
It is impossible to reproduce the same colors using blending within exported SVG file or in Inkscape (defacto standart app for SVG). Because the Figma blending gives different colors and Inkscape blending gives other colors.
Even if you set the exactly blending modes and opacity and etc. Even if you set force sRGB in Chrome flags.
Here is you can see the screenshot.
Left - source frame in Figma, Right - that frame exported and opened in the next tab in Chrome.
(Also, the SVG group in Inkscape breaks blending with underlayng objects because there is no Pass trough mode, only Normal).
I found that exported frame as SVG looks the same in Inkscape and in the Chrome Browser but the source frame looks different in Figma.
Alas, as far as SVG is concerned, Figma lives in its own parallel world of blending.
Thus, PNG is the only way to export accurate colors.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.