Smashing Magazine - we smash you with the information that will make your life easier. really.

5 Simple Tricks To Bring Light and Shadow Into Your Designs

Advertisement

There’s just no escaping light and shadow — it’s everywhere you look. Everything you see reflects light and casts some sort of shadow. Visually, light and shadow help us make sense of what we see and help us understand texture, dimension and perspective.

So, as we try to make our designs on the Web more natural, moving and intuitive, a good understanding of light and shadow is pretty important. Here are 5 ways to better use light and shadow to polish your page designs and make them stand out on the screen.

A Quick Anatomy Of Light And Shadow

In the simple diagram below, we can see that the light source is coming from the left. The highlight is where the light is strongest, and the shadows fall on the side furthest from the light source. The appearance of light and shadow tells us a lot about the surfaces and textures in the image.

Fig 1 in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

But what does this have to do with Web design, you ask?

If you’re trying to design rich, tactile interfaces and websites, light and shadow are your friends. In the same way that many classic artists made their paintings jump off the canvas, you can use light to give your designs depth and visual interest. Let’s get into it.

1. Using A Light Source

Perhaps the most important part of working with lighting is knowing where the light(s) is coming from. The light source will most likely determine where the highlights and shadows fall (although with Web design you can afford to bend these rules in places). If you’re working in Photoshop, you can use the “global light” effect so that all of your lighting effects follow the same light direction.

Controlling the source(s) of light in your designs (even if just with a linear or radial gradient) can help create atmosphere in your page designs. It can also help direct the eyes to a focal point in the design.

Examples on the Web

Campaign Monitor use a burst of light rays that conveys the feeling of a sunrise behind the design.

1 A in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Icebrrg use light to submerge its website deep underwater.

1 B in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Mike Precious uses more than one light source to add visual interest and to tie in with the desk-lamp lighting style.

1 D in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Deaxon use a subtle light source behind its logo to give the logo visual prominence on the page.

1 C in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

2. Gradients

In the real world, very few things have a flat tone. Light and shade are on everything. Subtly using gradients is a great way to provide depth and makes things come to life on the screen.

The key with gradients is not to overdo them. If you’re using Photoshop, make use of layer styles for your gradients. This gives you the freedom to edit them at any point; it also means that if you resize the element, the gradient will rescale too.

Fig 2 in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Examples on the Web

nclud’s website is a lesson in subtle yet effective use of gradients to separate and organize content.

2 A in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

CSS Ninjas appears to use flat colors at first glance, but each colored area has a subtle gradient, which gives it texture.

2 B in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

3. Highlights

Highlights can help balance shadows and should be used on the edges of objects closest to the light source. Highlights are often overlooked because when used effectively, you don’t even notice they’re there. And while not suited to every situation, a tiny highlight can make all the difference in polishing an interface. The “sharper” the highlight, the shinier the surface will appear.

To really appreciate highlights, we need to zoom in a bit close. A good trick for adding highlights is to work at 200% or more, because at 100% it can be hard to see what you’re doing clearly.

Examples on the Web

Icon Dock and Newism both use a semi-transparent white line on the page element’s top edge to give it a highlight. It’s barely noticeable but adds a bucket of polish to the design.

3 A in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

3 C in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

You’ve probably seen Apple’s website already. However, you may not have noticed the lovely highlights at the bottom of the navigation items, which help make the words look recessed.

3 B in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

4. Basic Shadows

Like gradients, drop-shadows have become a staple of most Web designers. Shadows can really add visual depth and texture when used the right way. The key is not to overdo it.

The qualities of a shadow depend on the light direction and intensity, as well as the distance between the object and the surface where the shadow is cast. The stronger the light, the darker and sharper the shadow. The softer the light, the softer the shadow.

Fig 3 in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Examples on the Web

When it comes to online examples of drop-shadows, there are simply too many websites to choose from. When used cleverly, they can add a touch of dimension to even the most minimal design.

LinkedIn adds a very subtle shadow to the bottom of its sidebar elements to create the illusion of depth.

4 A in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Google — with perhaps the hardest-working page on the Internet — still invests in the subtle use of shadow for its search page.

4 B in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

5. Advanced Shadows

You can do a lot beyond basic drop-shadows to give elements a third dimension. Longer shadows are a great way to change the spatial relationship between objects on a page.

In the examples below, the same Coke can is given completely different positions in space depending on its shading and shadow.

5 A in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

5 B in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

5 C in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Examples on the Web

Emotions by Mike cleverly uses shadow (and light) to turn the flat page into a floor.

5 D in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Superkix uses shadow to float sneakers “above” the website. The shadow moves when you resize the page, as if the light were shifting.

5 E in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Sofa creates a floor on the white background with great use of both light and shadow.

5 F in 5 Simple Tricks To Bring Light and Shadow Into Your Designs

Further Resources

Area for further articles and related resources.

(al)

Rob Morris is an Australian designer based in Japan. He freelances for clients all over the world under the moniker Digitalmash. You can follow his adventures on Twitter. http://twitter.com/digitalmash

Post Rating
1 Star2 Stars3 Stars4 Stars5 Stars (No votes yet)
Loading ... Loading ...

Tags:

Advertising
  1. 1
    Pfiff
    April 20th, 2009 1:53 pm

    amazing!

  2. 2
    Jim Hanifen
    April 20th, 2009 2:09 pm

    Simple yet so powerful. Love the one pixel lines and very subtle gradients.

  3. 3
    Luca
    April 20th, 2009 2:16 pm

    Very useful references, I’ll use them soon!!!

  4. 4
    noelmcg
    April 20th, 2009 2:17 pm

    brilliant, have been looking for something to kick start my understanding of this.
    thanks alot

  5. 5
    cssah
    April 20th, 2009 2:32 pm

    thanks so much

  6. 6
    Lukasz Bachur
    April 20th, 2009 2:48 pm

    Very nice and helpful – these tricks are simple and effective. BTW: design of Mike Precious is lovely!

  7. 7
    Simon Harlinghausen
    April 20th, 2009 3:07 pm

    Sweet. I really like shadows and 3D effects
    at websites. Especially to push informationen
    and build levels.

  8. 8
    Soh Tanaka
    April 20th, 2009 3:08 pm

    Great examples and tips!

  9. 9
    Hezi
    April 20th, 2009 3:46 pm

    Great job!

    thanks for bringing some light into the shadow.

  10. 10
    Tom Karels
    April 20th, 2009 3:46 pm

    Any way you could give tutorials on these specific effects? I see the related links but would be awesome to see how these examples were specifically created

  11. 11
    Allen
    April 20th, 2009 4:18 pm

    Very nice article

  12. 12
    earthwormjim
    April 20th, 2009 4:18 pm

    Wicked tut. Great for inspiration. I would argue on one point: Google has a pretty harsh shadow that is only justified by the awesome-ness that is Google. That and does anyone really use their homepage?

  13. 13
    nate
    April 20th, 2009 5:23 pm

    I agree, Google’s shadow is pretty bad, not to mention their logo. It’s established now, but no one would argue that either their logo or shadow are any good… Maybe it’s just me though?

  14. 14
    tracy
    April 20th, 2009 5:41 pm

    very very well.

  15. 15
    Matthias Maier
    April 20th, 2009 5:52 pm

    Great post! I love the power of shadows and especially gradients in web design.

  16. 16
    Rafael Braga
    April 20th, 2009 6:21 pm

    Just Great.

  17. 17
    Brandon Buttars
    April 20th, 2009 7:09 pm

    Awesome. This is a great tutorial. I think sometimes I’m lazy with my shadows and gradients and make them look a little bit unnatural. Thanks for the insight and tutorial.

  18. 18
    dijup
    April 20th, 2009 7:49 pm

    perfect good article

    This helps to improve the some of most common error which every designer makes.

  19. 19
    salah
    April 20th, 2009 9:09 pm

    well done, great work but for me still it is difficult to perform.

  20. 20
    Angela Garcia
    April 20th, 2009 9:32 pm

    Simply love it!

  21. 21
    Kay
    April 20th, 2009 9:36 pm

    Great stuff. You said all the things I wanted off my chest for other designers.

  22. 22
    francisa
    April 20th, 2009 9:59 pm

    cool article………

  23. 23
    Razvan
    April 20th, 2009 10:37 pm

    10x a lot, very usefull :)

  24. 24
    Abdul Akbar
    April 20th, 2009 10:37 pm

    Oh God,
    At last i got it………..The big problem with me, and i think with every designer is the concept of light+shadow. This article will help a lot in learning this concept.

    Thanks, Great post

  25. 25
    heyki
    April 20th, 2009 10:38 pm

    Illuminating !

  26. 26
    Henrik
    April 20th, 2009 10:39 pm

    I agree with earthwormjim. The folks over at google have´nt got a clue when it comes to design. I wonder how they have been able to established all that they have with such poor design and midrange usability. That could actually be a good article, why google have success?

  27. 27
    LinArt
    April 20th, 2009 10:45 pm

    Very nice article!! Very usefull also!
    Just makes me want to experience with shadows!!
    Grtzz, Lin

  28. 28
    Jesse
    April 20th, 2009 11:00 pm

    thank you so much for your everyday education. its perfect!

  29. 29
    myows
    April 20th, 2009 11:06 pm

    most useful article on smashing magazine in a long time !! – especially loved the coke can example.

  30. 30
    rasta
    April 20th, 2009 11:10 pm

    i’ll print this one..gracias!

  31. 31
    devpkj
    April 20th, 2009 11:26 pm

    simply awesome…!!!!

  32. 32
    OverZero.it
    April 20th, 2009 11:28 pm

    I’m a fan of shadows!
    Thank you very much.

  33. 33
    Virre
    April 20th, 2009 11:33 pm

    Really nice article! You should think about getting a “print” function for these things!

  34. 34
    mathiz
    April 20th, 2009 11:38 pm

    excellent! shadows are oftenly used in horrible ways!!

  35. 35
    Martijn
    April 20th, 2009 11:40 pm

    Web design is all about sweating the details and this article shows you how to do it. Nice work!

  36. 36
    Simon Day
    April 20th, 2009 11:47 pm

    Very nice. Shadows can be abused but the examples are very good.

  37. 37
    Garry
    April 21st, 2009 12:17 am

    Great article this one. Especially like the 1px highlights, just can’t get enough at the moment!
    Nice one RM.

  38. 38
    Martin
    April 21st, 2009 12:17 am

    Brilliant article.

  39. 39
    ubik15
    April 21st, 2009 12:17 am

    Another useful post. Thanks a lot, I love these details!

  40. 40
    azizbaba
    April 21st, 2009 12:17 am

    amazing. thanks

  41. 41
    photofolio.be
    April 21st, 2009 12:30 am

    Nice article. As always the key is in being subtle.

  42. 42
    Sheevaa
    April 21st, 2009 12:33 am

    Very Nice Article…… Thx Man…

  43. 43
    Yatrik
    April 21st, 2009 12:46 am

    Awesome

  44. 44
    Quakeulf >:3
    April 21st, 2009 12:51 am

    It all boils down to correct use of gradients, contrast and composition. Many of these posts can be summed up in one universal post with universal guidelines that all professional design build on, but that wouldn’t b much fun now, would it? :3

  45. 45
    b0nb0n
    April 21st, 2009 12:59 am

    amazing!!!!!!!!!!!!

  46. 46
    Steven
    April 21st, 2009 1:03 am

    Shouldn’t the title read – “5 examples of websites that bring light and shadow into their designs”?

    If you can link to specific tutorials to achieve these examples then you can use the current title.

    Smashing Magazine is turning into the equivalent of today’s journalism. Lazy, regurgitated and available earlier.

  47. 47
    jarod
    April 21st, 2009 1:28 am

    Great job! As always interesting!

  48. 48
    Rob Morris (@digitalmash)
    April 21st, 2009 1:37 am

    Steven,

    I think that’s a bit harsh. I wrote the article so that people could keep these things in mind when they design. There is actually text amongst the examples which I think is useful.

    There are links to tutorials at the end of the article which get into specifics, but at the end of the day it’s about a broader understanding than simply providing verbatim step by steps.

    Rob

  49. 49
    bycolor
    April 21st, 2009 1:40 am

    Very nice reminder about light, gradients and polish.

    Btw, I saw “EMOTIONS By Mike” website for the first time a couple a years ago, and I still believe it’s one of the best designs out there.
    It inspired me then. And still does.

  50. 50
    fire
    April 21st, 2009 2:41 am

    very good article. very well documented. congrats!

  51. 51
    Jan Schultink
    April 21st, 2009 2:59 am

    Very useful, also in PowerPoint

  52. 52
    Snoupix
    April 21st, 2009 3:10 am

    Very nice article and great examples easy to understand^^
    I think that it will help me in the design of my next projects! Thank you!

  53. 53
    sama creation
    April 21st, 2009 3:11 am

    brilliant Very nice and helpful

  54. 54
    BigBong
    April 21st, 2009 3:23 am

    One Word. Brilliant.

  55. 55
    Riccardo
    April 21st, 2009 3:50 am

    Some nice examples, thank you!

  56. 56
    Sheridan
    April 21st, 2009 3:51 am

    Some really nice examples!

  57. 57
    Hank
    April 21st, 2009 3:55 am

    Quality post, this is exactly the sort of thing I need to work on

  58. 58
    Malte Hansen
    April 21st, 2009 4:04 am

    Awesome! :)

  59. 59
    Tom Bradshaw
    April 21st, 2009 4:05 am

    I always use light and shadow in my work, it brings it to life, makes it feel real. Some really nice examples as well.

  60. 60
    Jacob Cass
    April 21st, 2009 4:16 am

    Check out these 5 web design polishing techniques too:
    http://line25.com/articles/5-must-know-web-design-polishing-techniques

  61. 61
    Cha
    April 21st, 2009 4:27 am

    Great examples! Thanks for sharing…

  62. 62
    r_jake
    April 21st, 2009 5:07 am

    Creating lovely lighting effects in Photoshop is one thing, but then translating these to accessible, valid and unbloated XHTML and CSS is the tricky part. Maybe a follow up post might be useful that outlines the best techniques for doing just that. I’m thinking of sliding doors, elastic content boxes, rounded corners + gradients, efficient use of divs with background images, etc.

  63. 63
    saurabh shah
    April 21st, 2009 5:09 am

    nice article …

  64. 64
    Søren Larsen Pedersen
    April 21st, 2009 5:17 am

    Wow, its great!

  65. 65
    bonnie
    April 21st, 2009 5:18 am

    love it! power to the drop shadow…!

  66. 66
    heather van de mark
    April 21st, 2009 5:43 am

    thanks for posting a unique and incredibly helpful guide!!!

  67. 67
    Jessica
    April 21st, 2009 6:14 am

    These are good examples, but as a novice Photoshop designer it would be nice if you could show us HOW to create these effects! From the title of this post that was what I was expecting :(

  68. 68
    Zuquirio Ámaur
    April 21st, 2009 6:35 am

    Great article, love it! I will put these tips in practie in my new web site design. Thanks.

  69. 69
    Jan Kovařík
    April 21st, 2009 6:53 am

    simple and very useful, thanks

  70. 70
    Richard
    April 21st, 2009 7:14 am

    Hey, the screen capture image you are using for the Superkix example above is the same image you are using for the Sofa example below it…

  71. 71
    BaKKaNeKKo
    April 21st, 2009 7:50 am

    This one is interesting : ) Thank you for sharing!

  72. 72
    henry
    April 21st, 2009 8:01 am

    Rim light. Where’s your rim light.

  73. 73
    Roy Vergara
    April 21st, 2009 8:03 am

    pretty enLIGHTening article! sorry i just had to…

  74. 74
    liam
    April 21st, 2009 8:20 am

    Great stuff Rob, fantastic examples. Lovely read.

  75. 75
    alex
    April 21st, 2009 8:57 am

    Great tricks
    we should as adobe change the default drop shadow values. Worst setting never used it.

  76. 76
    Kaopa
    April 21st, 2009 9:08 am

    Bonito y poderoso

  77. 77
    canciller
    April 21st, 2009 9:25 am

    :)) goooooooooood !

  78. 78
    Navdeep
    April 21st, 2009 9:46 am

    I had created a tutorial on the same kind of effect http://www.dezinerfolio.com/2008/04/25/how-to-design-with-shadows-and-lights

  79. 79
    Rene Ruiz
    April 21st, 2009 10:14 am

    This is a great article! In the section of highlights, there is a great example of how Apple uses highlights to create recessed text. I’ve always had trouble with this. Does anyone know of a good tutorial on creating this effect? I don’t know if everything is done by hand or if there are Photoshop methods for creating this. Any help?

  80. 80
    Paul Pennel
    April 21st, 2009 10:29 am

    There were some pretty cool examples. Thanks.

  81. 81
    David Tensen
    April 21st, 2009 11:55 am

    I found this article a great place to discover some cool sites like icebrrg and css ninja’s. Bonus! Thanks!

  82. 82
    Joris_Lucius
    April 21st, 2009 1:29 pm

    nice post! In addition to “4. Basic Shadow” (1st example), I often also add a subtle light (mostly white) stroke of 1px

  83. 83
    lupilegal
    April 21st, 2009 7:41 pm

    Que legal! Valiosas dicas, muito poderosas!

  84. 84
    Silver Atoll
    April 21st, 2009 10:58 pm

    This absolutely useful for anyone who gives attention to detail. Thanx a lot.

  85. 85
    Florian Dellé
    April 21st, 2009 11:26 pm

    Articles like these establish my excellent impression about Smashing Magazine!

    Brilliantly written. Thanks a lot.

  86. 86
    Pradeep CD
    April 21st, 2009 11:44 pm

    Awesome list…great info…thanks

  87. 87
    Chri
    April 22nd, 2009 12:37 am

    Great!! thanks

  88. 88
    Danish Refai
    April 22nd, 2009 1:31 am

    Awesome !!! Great Work !!!
    Still Smashing It !

  89. 89
    murtuza
    April 22nd, 2009 2:06 am

    nice ..one

  90. 90
    Quakeulf >:3
    April 22nd, 2009 3:20 am

    nice ..two

  91. 91
    Kilian
    April 22nd, 2009 4:28 am

    Nice Tips
    http://www.firestyle.pl

  92. 92
    Kedhar Vishwanath R.R
    April 22nd, 2009 8:08 am

    Simply superb, you guys rock. Your articles are crisp and clean. Thanks a lot, great work guys. Keep it up :-)

  93. 93
    Pixeam
    April 22nd, 2009 9:11 am

    USEFUL TIPS!

  94. 94
    Prashant Poladia
    April 22nd, 2009 10:39 am

    Very useful article on shadows. It is really an important factor to keep in mind. Thanks SM.

  95. 95
    awhollywood
    April 22nd, 2009 1:51 pm

    Nice, but this web 2.0 crap is gag worthy sometimes.

  96. 96
    Dmitry
    April 22nd, 2009 2:37 pm

    Brilliant. It’s the little touches that separate great designs from good and the points you mention should be talked about more often — small things that make a big difference. Great article Rob.

  97. 97
    Sarah
    April 22nd, 2009 7:59 pm

    Great tips! Really interesting uses of lighting/shadow.

  98. 98
    Line of Design
    April 23rd, 2009 12:02 am

    Great article. It really put some things into perspective for me. :)
    I’m currently training my 3D undertanding in Graphic Design for print at the moment. This article also helps with that – cross media :)

  99. 99
    Susan
    April 27th, 2009 5:19 am

    Great info and examples – thanks for posting!

  100. 100
    Rob Morris (@digitalmash)
    April 29th, 2009 7:23 am

    For those interested, I’ve elaborated on how I did some of the shading techniques in the article on my blog. http://digitalmash.com/journal/articles/upright-shadows/

  101. 101
    Rene
    April 30th, 2009 12:17 am

    Nice directions.

  102. 102
    Kevin
    April 30th, 2009 4:14 pm

    I am 3 weeks into my stank chode experiment where I began by running 10 miles through the louisiana backwoods, then put on a pair of water tight underwear which sealed in the moisture and bacteria. My experiment will conclude on week four, when I will remove said underwear and expose my posterior to my doctor for my first rectally administered prostate exam. Stand by for results.

  103. 103
    Roberto Otero
    May 10th, 2009 11:00 am

    Thank’s, really very usefull. I’ll try to use it. Again, thank you very much.

  104. 104
    Cyborg
    May 15th, 2009 10:03 pm

    Hmm… Really a neat collection.
    Very useful for web designers like me. :)
    Thanks

  1. 00

    There are no trackbacks at this time. If you are interested in leaving a trackback, please use this URL.

Leave a Comment

Make sure you enter the * required information where indicated. Please also rate the article as it will help us decide future content and posts. Comments are moderated – and rel="nofollow" is in use. Please no link dropping, no keywords or domains as names; do not spam, and do not advertise!



Advertisement Advertise with us!
Join in Smashing Forum
Post your job