One of the big trends in web design right now is using highlights and bevels to separate colors. This is a very good technique, as it provides a smooth contrast between two colors and makes for a great clean look. Even I have used this technique on the Spoonfed background. Notice how I used a 1 pixel line to separate the blue and the gray colors.
How/When To Use Highlights
Using this technique is a great way to separate background colors to make the design flow better. It gives off a very professional feeling when used in CSS. It is best to use this highlight technique as a separator between two different background colors, or between headers and menus. Although these highlights are only 1 or 2 pixels high, they can really make a big difference.
Style 1 – 1 Pixel White Line
This trick isn’t at all hard and it is very easy to accomplish. The easiest and simplest highlight is just using a 1 pixel white line extending across the whole page. This style looks best on grays and lighter colors.
In Photoshop, use the horizontal Single Row Marquee tool to select a 1 px line where two colors meet. Then fill the select area with white.
The image below shows how I used a thin white line to divide the light blue and gray in the background. Take a look at the background to see how it looks when incorporated with the rest of the site.
Here is where I used a single white line in the Spoonfed Design background. Notice that I also used some shading above the line to add emphasis to the effect. Shading might be something to consider, but you would have to play around with it to see how it looks.
Style 2 – Bevel
Bevels, 2 pixel lines consisting of a dark and light line, are another excellent way to contrast between two different colors. If you want to separate two similar colors, such as a white and a light gray, use a bevel to make a distinct divider. This isn’t the only place to use it, though.
Here I used a bevel as a divider between gray and white. I kept the single white line, but added a line above the white line. Notice that the second bevel line is a darker gray than the other gray color. It is important to have a slight contrast to make the bevel more distinct and flow better.
Using the bevel with a gray and white can create a professional minimalist look but at the same time, it is simple and easy.
Style 3 – Highlight On Bright Colors
So far I have explained how to use this effect on minimalistic colors, but what do you do with bright colors with high contrasts? When making a divider between two bright colors you can’t use white because it wouldn’t flow nicely. To solve this problem, you must use a lighter shade of the bottom color. For example, I used a bright green above the darker green to separate the green and dark gray.
Here is the highlight in use. If I had used white instead of the light green, it would look out of place. Although small, the highlight can add a lot of energy to the design. These are the colors Envato used in their corporate page: http://envato.com/.
Some Examples of Bevels
Here are a few examples of how bevels in highlights were used. Make sure to visit the website to see the highlights in better detail.
Envato
The guys over at Envato use this technique at least once in each of their sites. I think they influenced this becoming such a big trend.
Freelance Switch
Take a look at Freelance Switch to see how Envato uses bright highlights and bevels.
CSS Mania
CSS Mania uses a single line highlight across the top of the background. It is a great example of the single line technique.
Donor Tools
Donor Tools uses the bevel on the bottom of the navigation. See how they used a bevel as a separator because the background color was white.
Designchuchi
Designchuchi uses a few bevels and highlights to make for an excellent clean look. The highlights help the blues and grays to flow together.
Throw In Your Two Cents.
Please, feel free to leave a comment about your thoughts, opinions, or whatever.
{ 27 comments… read them below or add one }
Good post – this highlight technique has also become a lot more seen in ‘web 2.0′ styled designs. A soft gradient either side of the highlight also works really well. For me the main purpose of this effect is to better define a specific area, most often the header.
@ Leon Poole
Thanks, and you’re right, it is certainly a web 2.0 trend.
If used correctly, soft gradients can be an awesome way to add to this technique too.
Oooh nice post! I like to see details like this, awesome!
Nice pointers, attention to detail like this just gives a design that extra fulfillment.
Great pointers! I’d really love to see more short simple tutorials like this, it helps anyone perfect their web design skills!
Great and helpful Photoshop tutorial. Bookmarked on Delicious (:
Love your tutorial. Keep them coming…
Thanks for sharing some other examples of this technique. I’m fond of using this style in some of my designs.
Excellent post. I’m going to implement this technique in my designs because I love it!!
Thank u r information
Nice… I’d always thought I was missing something from my designs. I think this could just be it.
Good post. Increase the line-height on your site’s body text to at-least 1.7em .. It is difficult to read quickly at 1.4em …
Keep up the good work!
Nice post. Envato definitely rocks this technique!
Thanks! Quite a useful post, despite the simplicity of the subject…
@Michael
How so? 1.4em is sufficient for most books, websites, etc. I’m not sure it’s necessary unless the paragraphs being written get quite a bit longer.
simple but very good!
Incredible, isn’t it? The power of just one pixel!
Nice article!
Subtle little things that take you from the basic to impressive. Many tuts are weak in description, yours is concise and so helpful.
Thanks
Very helpful
Thx for sharing your knowledge ^^
Added to PSD Showcase
just to let you know…
Good tips. thx.
Really useful tip dude!
Keep posting…
raf
It’s very informative. Thanks for sharing.
Nice post and website
keep up the good work
Thanks for the information and its good i will share these content among social media.
This is awesome – thank you for curating all this valuable information.
Haha thats funny that i stumbled across this.
I just use the one pixel line or highlight as you call it for one of my clients website. I was so impressed on how good it looked… and now i read this… just great! Thanks for sharing
I’m really impressed with your writing skills and also with the layout on
your weblog. Is this a paid theme or did you modify it yourself?
Anyway keep up the excellent quality writing, it is rare to see a nice
blog like this one today.
{ 1 trackback }