.conic-segments {
    width: 300px;
    height: 300px;
    background: conic-gradient(red 0% 25%, yellow 25% 50%, green 50% 75%, blue 75% 100%);
    border-radius: 50%;
    border: 1px solid #000;
}