<div></div>
<div></div>
<div></div>
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100vw;
  min-height: 100vh;
  font-family: "Exo", Arial, sans-serif;
  background-color: #222;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  padding: 10px;
  gap: 10px;
  font-size: 1.5rem;
  place-content: center;
}

div {
  background-image: conic-gradient(
    red 0%,
    yellow 16.66%,
    lime 33.33%,
    aqua 50%,
    blue 66.66%,
    magenta 83.33%,
    red 100%
  );
}

div:nth-of-type(2) {
  background-image: conic-gradient(
    red 0%,
    yellow 16.66%,
    lime,
    aqua,
    blue 50%,
    magenta 85%,
    red
  );
}

div:nth-of-type(3) {
  background-image: conic-gradient(
    red,
    yellow 20%,
    lime 10%,
    aqua,
    blue 50%,
    magenta 85%,
    red
  );
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.