Create Gmail Like Text Avatars Using Javascript
initial.js is a lightweight jQuery plugin used to generate a SVG based user profile picture from the data-name attribute of your IMG tag, just like the text avatars as you see on Gmail.
geekonjava.blogspot.com