          update('yellow','darkgray');
            break;
          case 'psychedelic':
            update('lime','purple');
            break;
        }
      }

      select.value = 'white';
      update('white','black');
      function update(bgColor, textColor) {
        html.style.backgroundColor = bgColor;
        html.style.color = textColor;
      }
    </script>
  </body>
</html>
