HTML to 15-bit color converter

This is just a dumb little tool I wrote for myself to translate html color values
to the gameboy color hexidecimal 15-bit blue/green/red color palette.

     15-Bit Color:

View source to see the javascript code I wrote/stole for this.
For more info on 15-bit color, check out: