| Downloaded from www.biorust.com on Sat Nov 21, 2009 21:49:10 |
![]() | |
| Gradient Bars Tutorial Author - Man1c M0g (http://forums.biorust.com/member.php?s=&action=getinfo&userid=1) |
Gradient bars are perhaps one of the most commonly used graphical effects in the world today. Widely implemented as building blocks for more complex designs, they are easy to create, simple to modify, and endlessly flexible. Testament to this fact, there are also many different ways to design them, all of which achieve the same result, albeit with varying build-times and flexibility. My method is rather long-winded when compared to some of the alternatives, but gives a result that is far more versatile and allows easy reuse of gradients with greater symmetry in complex designs. Best of all, it uses the layer effects functionality present in Photoshop, allowing bevels, shadows, and other simple effects to be applied with relative ease.
Step 1 - New Document
Create a blank 300px by 150px document and fill the background with anything
you like (white may be best at first). Create a new transparent layer on top
via Layer > New > Layer and, using the rectangular marquee tool, draw a rectangle. The
size doesn't really matter, because we can easily alter a gradient to fit
it, and not vice-versa. Now make sure you have the top layer active and
choose Edit > Fill from the menu. Fill the rectangle with 50% grey.
You can now deselect if you want.

Step 2 - Gradient Overlays
With the shape layer still selected in the layers palette, choose
Layer > Layer Style > Gradient Overlay from the menu. This will pop
up a dialog like the one in the example below. Click on the gradient itself
to load up the gradient editor. There are, of course, many default gradients
included with Photoshop (copper is a nice one), but we want to make our own,
so enter a name in the text field and take a little time to familiarize
yourself with the options underneath.

Step 3 - The Gradient Editor
As you will no doubt notice, there are two sets of swatches - those
underneath, and those on top. The top ones set varying opacity through the
gradient, which we do not want to use in this case, so place one at both
ends and make sure they are set at 100% opaque. The ones underneath set
colours along the gradient, and can be set to anything you desire. You can
create more swatches by clicking in-between two active ones, and tighten /
loosen gradient steepness by dragging the diamond-shaped symbols around.
Fiddle around a bit to get the hang of it, and once you think you have
worked it out, duplicate the settings beneath.

Step 4 - Applying The Gradient
Press the new button to save your gradient. This will place it at the
end of your pre-existing gradients. Now just click on it to select it, and
press OK to go back to the layer effects dialog. Once you've done this,
change the gradient overlay settings to mine below and admire your work.
See, wasn't that simple?
NB. As a side note, if you have spent a lot of time designing gradients for
a project it is, of course, a good idea to back them up, which you can also
do the gradient editor screen.

Step 5 - Going Further
Now that your gradient is designed you should, of course, consider
adding other layer effects (Layer > Layer Style) to make it look more complete. Drop shadows,
outer glows, and bevels are very useful and will give your creations a bit
more depth. You'll also be able to alter the size, direction, and scale of
your gradients - very handy if you want to design a cohesive interface. In
my example below I've rounded out the corners, added a drop shadow, and an
outer glow (black), together with a funky background. I'll refrain
from giving you the exact settings I used as its more fun to work it out for
yourself! ;)

Variations
It should be remembered, of course, that gradients are a primary
building block of more complex designs. With a little time and effort you
can create some fantastically intricate objects and interfaces. Just have a
play around and see what you can come up with - its often surprising how
easily you can create something that looks fantastic in very little time at
all.