Help with text colouring

Post questions on how to use or achieve an effect in Inkscape.
darossi
Posts: 2
Joined: Mon Dec 07, 2015 2:35 am

Help with text colouring

Postby darossi » Mon Dec 07, 2015 2:38 am

Hello

Is there a way in Inkscape to colour a shape (specifically a letter) in two different colours? For example, with the letter "V" having one side one colour and the other side another?

Thanks

darossi

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

Re: Help with text colouring

Postby Moini » Mon Dec 07, 2015 2:48 am

Hi darossi,
you could use a gradient, with both stops placed directly next to each other (zoom in massively to select them).
Or you can split the shape into two, and color each half differently.
Or you duplicate it, and cut one half of the upper duplicate away, to avoid anti-aliasing effects, that might create a small seam between both halves.
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)

darossi
Posts: 2
Joined: Mon Dec 07, 2015 2:35 am

Re: Help with text colouring

Postby darossi » Mon Dec 07, 2015 3:07 am

Thanks for this. How do I cut one half of a letter away?

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

Re: Help with text colouring

Postby Moini » Mon Dec 07, 2015 3:27 am

Turn the letter into a path (this means that you won't be able to edit the text anymore) by selecting the text object, then doing Path -> Object to path (this will result in a group of paths, each one a single letter). Ungroup (Shift+Ctrl+G).

Duplicate your V, so you have one as a backup (and it will serve as the second half, as it will lie underneath the cut half).
Add a rectangle that covers the half of the letter you want to cut away (above the V).
Select both the V and the rectangle, do Path -> Difference.
The result will lie directly above the 'backup'-V, so it may be hard to see.
Just change its color, then you can see it. Done :)
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)

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

Re: Help with text colouring

Postby Moini » Mon Dec 07, 2015 3:28 am

(Duplication: Ctrl+D)
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)

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Help with text colouring

Postby Espermaschine » Mon Dec 07, 2015 4:12 am

path4153.png
path4153.png (8.33 KiB) Viewed 1319 times

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

Re: Help with text colouring

Postby Moini » Mon Dec 07, 2015 4:47 am

Which way did you choose to do this, Esper?
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)

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Help with text colouring

Postby Espermaschine » Mon Dec 07, 2015 4:53 am

Converted the text into paths and ungroup.

The 'O' was done with clipping (the pattern is a group of three rectangles, but i edited them to overlap so there would be no gap visible).

The 'i' with 'Break apart'.

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

Re: Help with text colouring

Postby Moini » Mon Dec 07, 2015 5:01 am

Infinite possibilities :) - I somehow guessed there would be a clipping somewhere in your process ;)
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)

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Help with text colouring

Postby Espermaschine » Mon Dec 07, 2015 5:15 am

Haha, yeah, im a clipping fan ;)

EDIT: oh wait, i didnt clip it, i masked it...but clipping would've worked the same.

Anyway, i favour non destructive methods.


Return to “Help with using Inkscape”