Is there a method to what pattern is displayed when no profile picture is set? I noticed different patterns for different people.


2 Answers 2


This is generated by gravatar automatically in the absence of an image, whatever method they use is on that side (as opposed to SO doing it). It works by taking your email (the one you provided to the SO/SE site) and making an md5 hash of it, it then just turns that into a URL, like this:


With that d=identicon is on there (or default=identicon) you get a random semi-unique generated image, like this:

alt text

If it's not on there, you get the generic gravatar icon:

alt text

The only description they give for this is:

  • identicon: a geometric pattern based on an email hash

So the method is ultimately your email address being translated into an image based on the hash of it...how exactly they do this it doesn't say.


You can actually change which pattern is displayed by changing the hash in the URL and change the size by varying the number after the s= part.

Try fiddling around with different numbers in the hash to see the different colors and patterns that are generated for your liking.

For example:


change it to


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .