Preset Shape
Style
200px
0°
Preview — Hexagon
polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)
Generated CSS
.shape {
width: 200px;
height: 200px;
background: #6366f1;
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
transform: rotate(0deg);
}