Colorhash

Colorize elements depending on their content

View the Project on GitHub gweax/ColorHash

Demo

Basic

Just type in any text and see the color changed.

Passwords

The use of ColorHash on password fields can improve the usability. Since you cannot see the password entered, it's hard to detect typos. By setting the background color depending on the password typed in, you can easily notice if you typed something wrong, since the color is different from the one you are used to.