Applying Gradients

You may have noticed that a few of Elements Layer styles and effects apply a color tint that fades away at the edges of your layer or image. You can fade and blend colors in almost any way imaginable by using gradients, which let you create anything from a multicolored rainbow extravaganza to a single color that fades away into transparency. Figure 13-17 shows a few examples of what you can do with gradients. The only limit is your imagination.

Here are three examples of gradients drawn with the Gradient tool.Top: This gradient creates a rainbow effect.Bottom left: If you play with the Gradient Editor (page 465), you can create all sorts of interestizfng effects. Here’s the gradient from the top figure again, only this time it’s applied left to right instead of top to bottom. Its colors are different because the Gradient Editor’s noise option was used (see page 468). Click the Randomize button a couple of times to get this effect.Bottom right: This figure shows the kind of gradient you can create if you want a landscape background for artwork.

Figure 13-17. Here are three examples of gradients drawn with the Gradient tool. Top: This gradient creates a rainbow effect. Bottom left: If you play with the Gradient Editor (page 465), you can create all sorts of interestizfng effects. Here’s the gradient from the top figure again, only this time it’s applied left to right instead of top to bottom. Its colors are different because the Gradient Editor’s noise option was used (see page 468). Click the Randomize button a couple of times to get this effect. Bottom right: This figure shows the kind of gradient you can create if you want a landscape background for artwork.

You can apply gradients directly to your image using the Gradient tool, or create Gradient Fill layers, which are whole layers filled with—you guessed it—gradients. You can even edit gradients and create new ones using the Gradient Editor. Finally, there’s a special kind of gradient called a gradient map that lets you replace the colors in your image with the colors from a gradient. This section covers the basics of using all these tools and methods.

If you want to apply a gradient to an object in your image, the Gradient tool is the fastest way to go. This tool seems complicated at first, but it’s actually easy to use. Start by activating it in the Tools panel (its icon is a yellow-and-blue rectangle) or by pressing G. Figure 13-18 shows your Options bar choices for this tool.

Using the Gradient tool is as easy as dragging: Click where you want the gradient to begin, and then drag to the point where you want it to stop (you’ll see a line connecting the beginning and ending points). When you release your mouse button, the gradient covers the available space.

For example, say you’re using a yellow-to-white gradient. If you click to end the gradient one-third of the way into your photo, the yellow stops transitioning at that point, since you told Elements to stop the gradient there, and the remaining two-thirds of your photo get covered with white. In other words, something put down by the tool covers the entire space—your whole photo, in this case. Clicking stops the color transition—no more yellow beyond that point—but the gradient’s end color fills in everyplace else. (Don’t worry: This is much easier to understand once you try it.) Drag the gradient within a selection to confine it to that area so the entire photo or layer isn’t affected by the gradient’s colors.

Some of Elements’ gradients use your Foreground and Background colors, but Elements also offers a number of preset gradients with different color schemes. Click the arrow to the right of the gradient thumbnail in the Options bar to see a panel of different gradients, some of which use your selected colors, and others that have their own color schemes. The gradients are grouped into categories. In the upper-right corner of the gradient thumbnails panel, click the double arrow to see all the gradient categories, and then choose one to see what it contains. (You can work only with the gradients in one category at a time.)

You can download gradients from the Web and add them to your library using the Preset Manager (When You Really Need Photoshop); Stuff from the Internet has suggestions of where to look online. You can also create your own gradients from scratch. Creating and editing gradients is explained later in this chapter, in the section about the Gradient Editor.

To apply a gradient with the Gradient tool, first make a selection if you don’t want to see the gradient applied to your whole image. Then:

You can customize gradients in several ways without even using the Gradient Editor. When the Gradient tool is active, the Options bar offers the following settings:

You can also apply a gradient using a special kind of Fill layer (Fill layers). Most of the time, this method is better than using the Gradient tool, especially if you want to be able to make changes to the gradient after you apply it.

To create a Gradient Fill layer, go to Layer→New Fill Layer→Gradient. The New Layer dialog box appears so you can set the layer’s blend mode (Blend Mode) and opacity. Once you click OK, Elements fills the new layer with the currently selected gradient, and the dialog box shown in Figure 13-20 pops up. You can change many of the gradient’s settings here, or choose a different gradient altogether. The dialog box’s settings are much the same as those in the Options bar for the Gradient tool:

When the gradient looks good, click OK to create the layer. You can edit it later by heading to the Layers panel and double-clicking the layer’s leftmost icon (the one with the gradient on it). That brings up the Gradient Fill dialog box again, so you can change its settings or choose a different gradient.

Elements’ Gradient Editor lets you create gradients that include any colors you like. You can even make ones in which the color fades to transparency, or modify existing gradient presets. Alas, the Gradient Editor isn’t the easiest tool in the world to use. This section tells you the basics you need to get started. Then, as is the case with so many of Elements’ features, playing around with the Gradient Editor is the best way to understand how it works.

You have to activate the Gradient tool to launch the Gradient Editor. After you activate the tool, in the Options bar, click the Edit button to see the Gradient Editor (see Figure 13-21).

The Gradient Editor opens showing the current gradient. You can choose a different gradient by picking from the thumbnails at the top of the Gradient Editor window, or by clicking the word “more” in the window’s upper right and choosing a new category from the list. (You’ll learn how to save your custom gradients later in this chapter.)

To get started using the Gradient Editor, first choose your gradient’s type and smoothness settings:

You do most of your work in the Gradient Editor’s Gradient bar, the long colored bar where Elements displays the current gradient. The little boxes (called stops) and diamonds surrounding the Gradient bar let you control the color and transparency of your gradient.

For now, you only care about the stops below the Gradient bar (the ones above it are explained in the next section). Each one is a color stop; it represents where a particular color falls in the gradient. (You need at least two color stops in a gradient.) If you click a stop, the pointed end turns black or the same color as the stop, letting you know that it’s the active stop. Anything you do at this point will affect the area governed by that stop. You can slide the stops around to change where the colors transition.

The color stops let you customize your gradient in lots of different ways. Using them, you can:

You can also use the Gradient Editor to adjust the transparency in a gradient. Elements gives you nearly unlimited control over transparency in gradients, and the opacity of any color at any point in the gradient. Adjusting opacity in the Gradient Editor is much like using the color stops to edit the colors, but instead of color stops you use opacity stops.

The opacity stops are the little boxes above the Gradient bar. You can move an opacity stop to wherever you want, and then adjust the transparency using the settings in the Gradient Editor’s Stops section. Click above the Gradient bar wherever you want to add an opacity stop. The more opacity stops in the Gradient bar, the more points where you can adjust your gradient’s opacity.

Here’s how to add an opacity stop and adjust its opacity setting:

  1. Click one of the existing opacity stops.

    If the little square on the stop is black, the stop is completely opaque. A white square represents a spot that’s totally transparent. The new stop you’re about to create will have the same opacity as the stop you click in this step, but you can adjust the new stop once you create it. (You can actually skip this step, but it lets you predetermine the opacity of your new stop.)

  2. Add a stop.

    Click just above the Gradient bar where you want to add a stop. If you want your stop to be precisely positioned, then you can enter numbers (indicating percentage) in the Location box below the Gradient bar. For example, 50 percent positions a stop at the bar’s midpoint.

  3. Adjust the new stop’s opacity.

    Go to the Opacity box below the Gradient bar and either enter a percentage or click the arrow to the right of the number and then move the slider. To get rid of a stop, click it and then click Delete or drag the stop upward, away from the bar.

By adding stops, you can make your gradient fade in and out, as shown in the background of Figure 13-22, which has a simple, vertical blue-to-transparent linear gradient that’s been edited so that it fades in and out a few times.

Elements also lets you create what Adobe calls noise gradients, which aren’t speckled as you might expect if you’re thinking of camera noise. Instead, noise gradients randomly distribute their colors within the range you specify, giving them a banded or spectrometer-like look. The effect is interesting, but noise gradients can be unpredictable. The noisier a gradient is, the more stripes of color you see, and the greater the number of random colors.

With the Gradient tool active, you can create a noise gradient by tweaking one of the sample ones that comes with Elements. First, go to the Options bar and click the down arrow to the right of the gradient’s thumbnail; this opens the gradient thumbnail panel. Next, click the double arrow at the panel’s upper right and then, in the pop-out list of categories, select Noise Samples. Click to select one you like. You can then edit it by clicking the gradient thumbnail in the Options bar to bring up the Gradient Editor.

Noise gradients have some special Gradient Editor settings of their own:

After all that work, you probably want to save your gradient so you can use it again. You have two ways to save a gradient from the Gradient Editor: