<h1>Primary Color</h1>
<h2>Secondary Color<h2>
:root{
  --primary-color: red;
  --secondary-color: green;
}
h1{
  color: var(--primary-color);
}
h2{
  color: var(--secondary-color);
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.