<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <h1>I'm RED</h1>
  <h2 class=blue>I'm BLUE</h2>
  <h1 id='orange'>I'm YELLOW</h1>
  <h4>I'm GREEN</h4>
  <div class="newColor">I'm purple (declared locally)</div>
  <h2>I am brown</h2>
</body>

</html>
$color-one: red;
$color_two: blue;
$color-three: orange;
$color-four: green;
$color-five: black;

h1 {
  color: $color-one;
}

.blue {
  color: $color_two;
}

#orange {
  color: $color-three;
}

h4 {
  color: $color-four;
}

.newColor {
  $color-five: purple;
  color: $color-five;
  border: 1px solid $color-five;
}

h2 {
  $color-four: brown !global;
  color: $color-four;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.