As shown in the image above, there are triangles in the background of similar but varying shades of color.
I managed to get the same color which is
#4C27B3
https://codepen.io/JoyFulCoding/pen/EzXowL
How can this effect be achieved using CSS?
As shown in the image above, there are triangles in the background of similar but varying shades of color.
I managed to get the same color which is
#4C27B3
https://codepen.io/JoyFulCoding/pen/EzXowL
How can this effect be achieved using CSS?
You can consider multiple background to achieve this but it seems a random background so you will have to use many layer.
Here an example in case you want to have a repeated pattern.
I will use different color so you can easily understand the shape:
You can then optimize it using CSS variables:
Finally you can use a
hsl()
coloration to create a pattern from the same color like you want:You can now easily have any kind of background:
In the near future you can do the same with less code using
conic-gradient
.The below code works only on chrome