Fill shape with two colours

Post questions on how to use or achieve an effect in Inkscape.
Fluidetom
Posts: 2
Joined: Mon Feb 23, 2015 8:59 am

Fill shape with two colours

Postby Fluidetom » Mon Feb 23, 2015 9:06 am

Hey Guys,

I've converted a bitmap into a shape and I'm not looking for a way to add some colours into it.
I'd like to get to this :

23-02-2015 00-03-25.jpg
23-02-2015 00-03-25.jpg (63.13 KiB) Viewed 2334 times


I've already looked but didn't find a way to achieve this two colours background and shape.

Any tip is welcome

Thanks in advance and have a nice day.

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Fill shape with two colours

Postby Lazur » Mon Feb 23, 2015 9:35 am

Hi.

Try different settings with the trace bitmap tool on the original raster image -multiple scans, two colours.
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Trace-Multi.html#Trace-Multi-Colors

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Fill shape with two colours

Postby tylerdurden » Mon Feb 23, 2015 9:44 am

Many ways,

Here's a hint:
SVG Image
Download this image to dis-assemble in Inkscape.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Fluidetom
Posts: 2
Joined: Mon Feb 23, 2015 8:59 am

Re: Fill shape with two colours

Postby Fluidetom » Sat Feb 28, 2015 8:39 am

Hey guys,

Thanks for the tip but I didn't manage to create what I want.
I've been playing the last 2h with Inkscape and didn't manage much.
I tried the trace bitmap with two colours but the result was sharp enough.
I then tried playing with rectangle and fill bucket tool which I find extremely non user friendly.
When I click a path to fill it with paint nothing happens; really weird.

Anyway, would you have other ideas on how to proceed ?
I'm now at this stage, but I don't know how to change the colours.
Basically the black must become 660000 and the white must become black

Lichecorne-Logo-Noir-et-blancv2.svg
(33.15 KiB) Downloaded 152 times

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Fill shape with two colours

Postby tylerdurden » Sat Feb 28, 2015 9:11 am

You can do this.

SVG Image

Enjoy. :D
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Fill shape with two colours

Postby ragstian » Sat Feb 28, 2015 9:27 am

Hi.

Follow the explanation that tylerdurden made.
You have to edit a few nodes in the file below to make the "seam" straight - nice practice for you!
SVG Image
Right Click the image to download.


Have a look at The Manual.
I recommend going through the tutorials in "Quick Start" section.
This will get you up to speed in no time!
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Fill shape with two colours

Postby Lazur » Sat Feb 28, 2015 9:30 am

Not sure how this would work for a logo, probably would edit it alot, but
here is a quick example how a little editing and combining paths can result in compound paths with such "negative effect" hole.

Slightly different from the previous ones.

Lichecorne-Logo-Noir-et-blancv2II.svg
(30.44 KiB) Downloaded 162 times



Related information:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Attributes-Fill-Stroke.html#Attributes-Fill-Rule

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Fill shape with two colours

Postby tylerdurden » Sat Feb 28, 2015 10:27 am

Sneaky. :ugeek:
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Fill shape with two colours

Postby ragstian » Sat Feb 28, 2015 12:39 pm

Hi.

tylerdurden wrote:Sneaky. :ugeek:


Not sneaky - just smarter! - The Lazur Way!
(Normally Lazur's solutions is way over my head but I could understand this one) :)
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Fill shape with two colours

Postby Lazur » Sat Feb 28, 2015 1:42 pm

Thank's for the kind words, but that fill rule trick I learned here somewhere, have to dig deep now where it was exactly.

This had a similar suggestion, so it should have been earlier.
Earlier than Jul 03, 2013.

Tylerdurden wrote this, showing the same concept.
And this one.

To be honest I'm searching for a post when I suggested a clip-like solution and probably ~Suv or Xav suggested the fill rule trick right after.
Will link if I can find for the right credits.
Have no clue what word to search for though.


Return to “Help with using Inkscape”