.p1 {
width: 0;
height: 0;
border-bottom: 80px solid red;
border-right: 80px solid transparent;
border-left: 80px solid transparent;
}
.p2 {
width: 0;
height: 0;
border-top: 80px solid red;
border-right: 80px solid transparent;
border-left: 80px solid transparent;
}
.p3 {
width: 0;
height: 0;
border-left: 80px solid red;
border-top: 80px solid transparent;
border-bottom: 80px solid transparent;
}
.p4 {
width: 0;
height: 0;
border-right: 80px solid red;
border-top: 80px solid transparent;
border-bottom: 80px solid transparent;
}
.p5 {
width: 0px;
height: 0px;
border-right: 80px solid red;
border-top: 80px solid yellow;
border-bottom: 80px solid blue;
border-left: 80px solid green;
}