code: function (n) {
              var nybHexString = '0123456789ABCDEF';
              return (
                  String(nybHexString.substr((n >> 4) & 0x0F, 1)) +
                  String(nybHexString.substr(n & 0x0F, 1))
              );
          }
docs: Based on http://krazydad.com/tutorials/makecolors.php