i'm trying to find a way that have an object inherit the colors of another in a lower layer.
this way i would have a background, other objects in front of it, then in front of all of them there would an object that copies colors of the background to the front. something similar to the clip feature, but one that preserves the background image
the layer order would look like this:
- Object that inherits the colors of the background
I probably don't understand it, but why is the background colour not applied to the top objects or no fill colour used at all to let the background show through?
Another method to have common colors across objects is using custom swatches. A custom swatch can be revised and any objects using that swatch will update.
i'm trying to find a way that have an object inherit the colors of another in a lower layer.
this way i would have a background, other objects in front of it, then in front of all of them there would an object that copies colors of the background to the front. something similar to the clip feature, but one that preserves the background image
the layer order would look like this:
- Object that inherits the colors of the background
- Some object
- Some object
- Some object
- Background
I probably don't understand it, but why is the background colour not applied to the top objects or no fill colour used at all to let the background show through?
IIRC, CSS classes can be set on layers (which are specially tagged groups).
I'd try setting the top and bottom layer with the same CSS class for fill/stroke and if they need revising, change the color value of the CSS class.
Forum member Xav (Mark Crutch) has an excellent tutorial series on Inkscape. This post has links to his CSS tutorials: https://inkscape.org/forums/tutorials/inkscape-tutorials-in-full-circle-magazine/#c54835
Another method to have common colors across objects is using custom swatches. A custom swatch can be revised and any objects using that swatch will update.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes-Fill-Stroke.html#Attributes-CustomSwatches