<div class="cone"></div>
body {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 100vh;
  background-color: #04142F;
}

.cone {
  width: 30vmin;
  height: 30vmin;
  border-radius: 50%;
  background-image: conic-gradient(
    hsl(222, 99%, 40%) 0% 20%,
    hsl(222, 99%, 20%) 20% 35%,
    hsl(222, 99%, 80%) 35% 100%
  );
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.