How do I change the colour of this svg?

Post questions on how to use or achieve an effect in Inkscape.
ChrisBirks
Posts: 3
Joined: Fri May 25, 2018 10:03 pm

How do I change the colour of this svg?

Postby ChrisBirks » Fri May 25, 2018 10:23 pm

As the subject suggests. Having no luck with Fill/Stroke or with Extensions>Color>Change Color

Thanks in advance for your help.
Attachments
1200px-Universal_Contactless_Card_Symbol.svg.png
1200px-Universal_Contactless_Card_Symbol.svg.png (49.95 KiB) Viewed 3149 times

User avatar
prkos
Posts: 1625
Joined: Tue Nov 06, 2007 8:45 am
Location: Croatia

Re: How do I change the colour of this svg?

Postby prkos » Fri May 25, 2018 10:56 pm

Is the object you're trying to change a PNG or SVG? The image you attached is PNG, you might need to host elsewhere for SVG.

If it's SVG look to the Statusbar to see what object type you have in selection. Ungroup if it's a group (or double-click to enter it) so you can select individual objects. On some objects you'll have to change the fill color, and on others stroke. It all depends on the SVG structure.

For future it would be nice to manipulate all strokes to paths, then union into one object. That way you'd be able to change color of all black areas into a different color, but you'd lose the ability to color individual parts in different colors.
just hand over the chocolate and nobody gets hurt

Inkscape Manual on Floss
Inkscape FAQ
very comprehensive Inkscape guide
Inkscape 0.48 Illustrator's Cookbook - 109 recipes to learn and explore Inkscape - with SVG examples to download

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How do I change the colour of this svg?

Postby Polygon » Fri May 25, 2018 11:11 pm

When it´s a raster image like the one you uploaded there´s a Filter->Color-Colorize which lets you adjust the color:
Colourise.png
Colourise.png (57.9 KiB) Viewed 3139 times


Cheers
P.

ChrisBirks
Posts: 3
Joined: Fri May 25, 2018 10:03 pm

Re: How do I change the colour of this svg?

Postby ChrisBirks » Sat May 26, 2018 12:25 am

Hi guys, thanks for the replies.

Yes, I tried the colorize but on mine it's only altering the colour of the image outline, as attached. How might I change the fill, too?

Thanks in advance.
Attachments
outline coloured.jpg
outline coloured.jpg (26.52 KiB) Viewed 3131 times

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How do I change the colour of this svg?

Postby Polygon » Sat May 26, 2018 2:06 am

So it seems you´re using the SVG - then find the fill+contour dialog and either set contour to same color as fill or vice versa or disable contour completely:
coloredfill.jpg
coloredfill.jpg (46.67 KiB) Viewed 3115 times

Universal_Contactless_Card_Symbol.svg
(7.01 KiB) Downloaded 226 times


Cheers

Moini
Posts: 3357
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I change the colour of this svg?

Postby Moini » Sat May 26, 2018 2:46 am

Might be a symbol... Can you either share your original SVG file (you can rename it to txt), or at least select the object and tell us what the status line says about it?
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How do I change the colour of this svg?

Postby Polygon » Sat May 26, 2018 3:06 am

I think I uploaded the right one. ;-)

Moini
Posts: 3357
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I change the colour of this svg?

Postby Moini » Sat May 26, 2018 8:55 am

I meant Chris, not you, Polygon :-P (or where does it come from?) As the user wrote: " Having no luck with Fill/Stroke or with Extensions>Color>Change Color" I thought that fill and stroke were things he/she already tried, and that the original must either be a clone, a symbol, or an embedded raster image.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How do I change the colour of this svg?

Postby Polygon » Sat May 26, 2018 9:13 am

Look at the title of his first image. ;-)
Cheers

Moini
Posts: 3357
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I change the colour of this svg?

Postby Moini » Sat May 26, 2018 9:21 am

I did, and did a web search, and couldn't find an original.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

Polygon
Posts: 393
Joined: Thu Dec 19, 2013 3:27 am

Re: How do I change the colour of this svg?

Postby Polygon » Sat May 26, 2018 11:20 am


Moini
Posts: 3357
Joined: Mon Oct 05, 2015 10:44 am

Re: How do I change the colour of this svg?

Postby Moini » Sat May 26, 2018 12:29 pm

:-D - bad search machine...
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

ChrisBirks
Posts: 3
Joined: Fri May 25, 2018 10:03 pm

Re: How do I change the colour of this svg?

Postby ChrisBirks » Tue May 29, 2018 8:44 pm

Thanks so much for your help everyone, much appreciated. One more tool in the Inkscape arsenal.


Return to “Help with using Inkscape”

Who is online

Users browsing this forum: No registered users and 4 guests