The conic-gradient()
CSS function
is used to generate circular gradients.
It can be applied as a value to the
background
, background-image
, and
background-color
properties.
As you can see, in the first
circle,
we used the colours red
, yellow
,
green
, blue
and purple
as parameters.
In the second
example, we repeated
the initial colour at the end for a
smoother transition around the circle.