- [VOICEOVER] In this movie, I'll demonstrate how,
thanks to our reliance on gradience and
global swatches, we can switch out the color
scheme dynamically, anytime we like.
So for example, let's say, instead of going
with these high contrast colors,
I want some warm fall colors like these.
Well, as we saw in the previous chapter,
one way to approach this project, is with recolor artwork.
And so I'll just go ahead and
click somewhere outside in the origami petals,
and then I'll click on the recolor artwork icon,
up here in the control panel.
And now I can see my base colors, right here,
in which case, I could go ahead and
switch out the dark blue for the dark purple,
and that's going to swap those two colors.
And then I'll go ahead and drag the brighter blue
onto the brighter purple, and that will
swap those two colors as well.
Problem is, we've got a total of seven colors here,
and I'm actually only using six colors in the gradience.
This top color is actually employed
by the outer glow affect.
And so, if I end up switching this
dark blue with that brown,
I'm going to make a pretty big mess of things,
as we're seeing here.
But there's no need to worry,
because we started with global swatches.
So I'm just going to go ahead and cancel
out of this dialogue box,
and instead I'm going to press control, shift, a,
or command, shift, a on a Mac.
That's very important, to deselect my art work,
so I don't mess it up.
And then, I'll just go ahead and modify
these global swatches, here inside the flower color screw.
So I'll start by double clicking on this first guy,
and I'll switch the color mode to AHSB,
and then I'll just go ahead and change the hue value,
let's say, to 355, and the other values are fine as is,
at which point I'll turn on the preview checkbox,
and I'll see my change applied on the fly,
at which point I'll click okay,
and then I'll double click on the next color swatch,
and this time I'm seeing the AHSB values right of the bat,
and I'll go ahead and change this
hue value to 20 this time around,
turn on the preview checkbox, and I'll see the
modifications applied to my deselected art work,
because after all, these gradients are linked
to these global swatches.
Alright, I'll click okay again,
and then I'll double click on this blue swatch,
and I'll go ahead and change it's hue value,
not to 355 by the way, because if I do that and
try to click okay, Illustrator isn't mad at me because
I'm entering the same values, it's mad
because I'm trying to use the same swatch name.
So I'll have to click okay, and then either change
the swatch name, or just go with a different hue value,
and I decided on a hue of 350 degrees,
turn on the preview checkbox, see it applied to
those blue gradients, and click okay.
And then I'll double click on the blue swatch,
and I'll change it's hue value to 0 degrees,
and turn on the preview checkbox, and I have this vivid red,
at which point I'll click okay once again.
Now things get even more interesting if I
switch out the style of the gradients.
And so to demonstrate what I'm talking about,
I'll go ahead and click in my art work, like so,
in order to select that rear most circle.
And then, I'll go ahead and select the very bottom
fill in the stack down here,
and I'll expand my gradient panel, and then I'll change
the style to linear, and notice what happens,
we start to have this wrap around gradient,
and that's going to become even more obvious if I
change the location of the middle color stop to 50 percent,
and then I'll press the alt key,
or the option key on the Mac,
and drag that right hand color stop,
all the way over to the left.
And because I have the alt or option key down,
I'm making a copy of it.
And just for a moment, I'm going to press control, shift, a,
or command, shift, a on a Mac, to deselect my art work,
so I can modify this first global swatch,
because after all, to my eye anyway, it looks too dark.
And so I'll go ahead and double click on it,
make sure I'm looking at my AHSB values,
take that brightness value up to 50 percent,
turn on the preview checkbox, and now it's looking
way too red, and so I'll change the hue value, to let's say,
10 degrees, and I end up with this affect here.
And so I'll click okay.
And so notice how the gradient is now wrapping around,
like so, in a kind of swirl pattern,
and that's because it's being scaled and rotated outward.
And then I decided to do something similar with
the third to bottom fill, right here.
And so, I went ahead and selected it's middle swatch,
sent it to a location of 50 percent, duplicated by
alt dragging or option dragging the yellow color stop,
over to the far left hand side.
I changed the type from radial to linear,
and I'm not seeing anything happen because
I forgot to reselect my art work.
So when you're modifying global swatches,
it's very important that nothing is selected,
but when you're modifying gradience,
it's very important that something is selected.
So I'll go ahead and click on my art work, once again,
to select it, then I'll click on the third to bottom fill,
I'll go ahead and select that middle color stop,
change it to 50 percent, alt or option drag the yellow one
from the right, over to the left hand side to duplicate it.
I'll change the type to linear, and I'll go ahead and
switch out the middle color with this darker
shade of brown, like so.
Now, press control, shift, a,
or command, shift, a on the Mac, to deselect my art work.
So whether you prefer the exclusive radial affect,
or the alternative linear one,
it's an easy matter to change out the color scheme,
of a dynamic affect, by comprises global swatches
and gradience, here inside Illustrator.