PYthon: How does this code work?
<pre><code>def color(self):
    name_hash = hash(self.name)

    red = name_hash &amp; 0xFF          # What is this sort of operation? 
    green = (name_hash &lt;&lt; 0xFF) &amp; 0xFF            # What does 0xFF used for?
    blue = (name_hash &lt;&lt; 0xFFFF) &amp; 0xFF

    make_light_color = lambda x: x / 3 + 0xAA     # Why plux 0xAA?

    red = make_light_color(red)
    green = make_light_color(green)
    blue = make_light_color(blue)

    return 'rgb(%s,%s,%s)' % (red, green, blue)
</code></pre>
