I haven't written any Photoshop tutorials for a while. Today I'm going to share a simple tutorial on how to create reusable background patterns with Photoshop and CSS. I learned this trick from designing WordPress themes. The trick is to create one reusable transparent PNG background and use CSS background-color property to create various color skins. It is particularly useful for creating customizable and dynamic templates (see demos).
What is so cool about this?
With transparent pattern image, users can easily customize the background color by altering the hex color.

Photoshop Trick: Extracting Pattern
This Photoshop trick works on most pattern images. For this demonstration, I'm going to use a tiled pattern image below. Follow the steps below to extract the pattern from the image. You will learn how to use Photoshop Channels to create selection.

Step 1
First you have to turn the image layer to black & white (go to Image > Adjustments > Destaturate). Then go to Image > Adjustments > Levels. Slide the: shadow, midtone, and highlight stopper to adjust the level. The goal here is to make the transparent area completely white.

Step 2
Now you should have a black & white pattern. Go to Image > Adjustments > Invert (or press Cmd + I for shortcut). Select all and copy the pattern. Go to the Channels palette, add a new Channel and then paste the pattern into the Channel layer. Remember: the white pixel in the Channel layer will be the selection.

Step 3
Go back to the Layers palette. Create a new layer. Go to Selection > Load Selection and select the Channel that you've just created in the previous step. Then fill the selection with a solid color (eg. black).

Shortcut tip for loading the Channel selection: hold down the Cmd key and click on the Channel layer thumbnail. Learn more Photoshop shortcuts here.
Opacity
To control the instensity or the darkness of the pattern, adjust the layer's opacity.

Final (see demos)
Save the final pattern as a transparent PNG file. Now you may use CSS to easily change the background color to any hex code.
.pattern {
background-image: url(pattern.png);
background-color: #666;
}
Super fun tut! I just recently made up some seamless subtle textures to use as tiles in PS, but haven’t tried incorporating the textures as an overlay to a colored background in a website yet. I’m looking forward to playing around with this. :)
awesome…make pattern looks transparant
(sorry for my english..)
aasdds
Awesome tutorial.Thank you for sharing.
thanks a lot for the tutorial…
This is great! So easy to follow, thank you so much for sharing
the pattern is ultimate like it.
I just made a quick try to extract the pattern and very excited with the result :) ~ It will save time-load for a website with tiny transparent .png file and simple CSS to make it works!
Much thanks for sharing this idea & tips ;)
Super cool man.Blogger Tricks.
Really nice stuff.
Having a common background structure helps create a sense of continuity & have a variation with different textures on different pages, is a cool thing to do.
Thanks for sharing a great tutorial.
Really usefull stuff, Never find pattern background so easy and explanatory. Nice article. Look back later for more information. Thanks a lot.
Awesome, nice work
Amazing.. love this thanks!! ;)
Great Idea…with the design, I hope u don’t mind me adding your web page to my blog for future reference, keep it up!!!!!
What a great idea!
THX from Austria
Wonderful tutorial, thank you! I wish I’d found this years ago. :)
This is what I need, this article details, very useful
Thanks for the tutorial! Very detailed. Also having it set in lower transparency makes the pattern more subtle so it isn’t competing with the other images on the website (great for image heavy sites btw)
Thanks for sharing…. BTW i like your header image.
Having a common background structure helps create a sense of continuity & have a variation with different textures on different pages, is a cool thing to do.
Buy Wow gold, Buy arena rating, buy arena carry