g.require('goog.ui.HsvaPalette');
    </script>
  </head>
  <body>

    <h1>goog.ui.HsvaPalette</h1>

    <h3>Normal Size</h3>

    <script>

    var p = new goog.ui.HsvaPalette;
    p.render();

    </script>

    <h3>Smaller Size</h3>

    <script>

    function linkColors(e) {
      e.target.other.setColorRgbaHex(e.target.getColorRgbaHex());
    };

    var pSmall = new goog.ui.HsvaPalette(null, null, null,
        'goog-hsva-palette-sm');
    pSmall.render();

    p.other = pSmall;
    pSmall.other = p;