- [Voiceover] In this movie, I'll show you how to introduce
a gradient into your Live Paint object, as in the case
of this pink to white sky.
Alright, so I'll go on and switch to my artwork so far.
And I'm gonna zoom in on it as well
so that it can take in that sky.
And I'll start off by creating a custom swatch based
on this shade of pink right here.
The one that begins with R=237
I'll go ahead and select it and then I'll click
on the little page icon at the bottom of the Swatches panel
in order to bring up the new swatch dialogue box.
I'll change the mode from RGB to HSB
and then I'm gonna take the saturation value down
to 44% in order to create this pale pink
and then I'll click OK, at which point I will see
the pale pink is selected here inside the Swatches panel.
Alright, now, I'll go ahead and switch back
to my Live Paint bucket, which, as always,
you can get by pressing the K key and then I'll click inside
the sky in order to fill it.
And while that looks pretty darn good
where this illustration is concerned, I think it's
a little overbearing, and so I decided that I wanted
to introduce a gradient from pink at the top
to white at the bottom, which requires you
to first save your custom gradient as a swatch,
so the Live Paint bucket has access to it.
And you make that happen by going up to the Window menu
and choosing the gradient command to bring up
the gradient panel.
And it doesn't matter, by the way, if it's expanded
or collapsed as long as you can see the gradient ramp.
Then just go ahead and grab your new shade of pink
and drag it and drop it into the right side
of the ramp, like so.
Alright, now that you've created a white to pink gradient,
and by the way, it doesn't matter what its angle is.
I know eventually I'm gonna want it to be 90 degrees,
but entering it at this point, as you'll see,
makes no difference.
Alright, so with this pink to white gradient in hand,
just go ahead and click on the little page icon
at the bottom of the swatches panel and name
this new swatch something like Pink Grad
and then click OK.
Alright, now that it's selected as we're seeing
in the swatches panel, it also appears above
the Live Paint bucket.
And so I'll just go ahead and click in the sky in order
to apply it and you can see, even though 90 degrees
is specified here inside the gradient panel,
it makes no difference inside the artwork.
We're seeing the gradient at an angle of zero degrees.
But the good news is this - notice if I decide to zoom
in on this little detail here, which is part of the sky,
if I click on it, then, well I guess the news
isn't so great, we see a white to pink gradient inside
this little region.
I thought it was gonna match the rest of the sky,
but it doesn't and so how do we make it match
as well as change the angle of the gradient?
Well, here's what you do - press Control zero
or Command zero on a Mac to zoom out.
Actually, I'm gonna zoom a little bit tighter
than that, I think.
And then, I'll press the V key to get my black arrow tool.
Then I'll click on the Live Paint object
to select the entire thing, and then I'll switch
my gradient tool, which I can get by pressing the G key
and I'll go ahead and drag from this line right here,
upwards like so, while pressing the Shift key
until I get just a little bit above the sun.
Not quite this far, just a little bit like so.
And then I'll go ahead and release, and while
that does take care of the angle of the gradient
and also forces this little area to match
the rest of the sky, for some reason, it does
a real number on the strokes, as you can see.
And so I'm going to press Control H
or Command H on a Mac in order
to hide the selection outline.
The big problem here is that we've lost out line weight.
It's suddenly gone down to 0.5 point,
which is not what I want, so I'll select that value
and restore it to 1.2 points which is what it was before.
And then I'll click on the word Stroke and I'll confirm
that both my cap and my corners are set to Round,
which they are, so that's good news.
You might also wanna confirm the color by clicking
on this second color swatch, and make sure
that it's set to black, which in my case it is.
Alright, so the only thing about this I don't like,
is that the rectangle has a stroke, not that it's really
a problem because it's outside of the R port,
but let's say for some reason that bothers you.
Then if you wanna get rid of that stroke,
go ahead and switch from the Live Paint bucket
to the Live Paint selection tool, and then click
on that rectangle in order to select it,
and you can tell that it's selected if you zoom on in here.
Actually, I can't because my selection outlines are hidden,
so I'll press Control H or Command H on a Mac
to bring them back, and now if you're working along with me,
you should be able to see a little pattern of dots,
at which point, just go ahead and click on
that second swatch on the left side of the Control Panel
and change it to None and that will get rid of
that one offending stroke.
And now, I'll go ahead and press Control zero
or Command zero on the Mac to zoom out and I'll press
the F key a couple of times in order to switch to
the full screen mode, like so, and now notice if I go ahead
and scroll this guy over here, that we have managed
to all together color our free form line art complete
with a pink to white gradient here inside Illustrator.