styleSheet rules
<html> <body> <style>body {background-color: white;}</style> <button onclick="document.styleSheets(0).rules(0).style.backgroundColor = 'blue';"> Change color </button> </body> </html>