Seems easy but it kind of isn’t if you aren’t skilled like me. So if you are un-skilled, half-skilled, and/or just want to change some background colours in Inkscape – boom! This blog’s for you…
Option 1 – Make things Opaque Instead of Transparent
The main thing to understand first is that Inkscape has a default alpha (transparency) property and it’s set to 0 (fully transparent) by default.
So, in my case, I can often get background stuff figured out by simply moving the alpha slider to 100% or change the RGB settings from fffff00 to fffffff (all fs), especially if the background is supposed to be a simple white background.
Here’s how you do that:
- Go to “File”
- Go to “Document properties”
- At the bottom right you should see ‘Background’ with a ‘background colour’ square colour picker thing. If it looks like a checkerboard, your background is set to ‘fully transparent’ and you’ll be exporting a checkerboard PNG file when you export.
- Click the rectangle colour box
- change ffffff00 (which is ‘white plus full transparency) to ffffffff (which is ‘white plus zero transparency’)
- Close the box
Now you should see a ‘white’ colour-picker-thing where the checkboard was.
If you want a different colour, change it there and you shoud have success.
Option 2 – Change the Colour from Colour A to B With the “Fill Background” Filter
You can also try out the ‘fill background’ feature as it sometimes does the trick in a nice and easy way…
- Select your ‘thing’ on your document
- Go to “Filters”
- Go to ‘Fill and transparency’
- select ‘fill background’
What do you notice? Is it maybe the wrong colour? That’s because this part is super non-intuitive, ha!
Not going to lie, I tricked you so you realize in a painful way this workflow is not intuitive. Do a Control+z and undo the colour fill and follow this workflow instead:
- Go to “Filters”
- go to ‘Filter editor” which opens up a kind ofpane zone on the right
- Now repeat the intuitive steps above where I tricked you which are, to review:
- Select your ‘thing’ on your document
- Go to “Filters”
- Go to ‘Fill and transparency’
- Select ‘fill background’ – still wrong colour? Don’t worry, I’m not tricking you this time: Now you can see the colour control tool in the right pane zone thing 🙂
- Change your colour to what you want
- Export to PNG
- Rejoice!
Hope this helps.