31/31 прошу критики.

.palette-box:first-child .palette-small {
display: flex;
flex-direction: column;
justify-content: center;
}

.palette-box:first-child .palette-small .color-4 {
order: 4;
align-self: center;
}

.palette-box:first-child .palette-small .color-2 {
order: 3;
}

.palette-box:first-child .palette-small .color-3 {
align-self: center;
}

.palette-box:nth-child(2) .palette-small {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
}

.palette-box:nth-child(2) .palette-small .color-2,
.palette-box:nth-child(2) .palette-small .color-6 {
align-self: flex-end;
}

.palette-box:nth-child(2) .palette-small .color-4,
.palette-box:nth-child(2) .palette-small .color-1 {
align-self: flex-start;
}

.palette-box:nth-child(3) .palette-small {
display: flex;
justify-content: space-between;

}

.palette-box:nth-child(3) .palette-small .part:first-child {
display: flex;
flex-direction: column;
justify-content: space-between;

}

.palette-box:nth-child(3) .palette-small .part:last-child {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.palette-box:nth-child(4) .palette-small {
display: flex;
justify-content: space-between;
}

.palette-box:nth-child(4) .palette-small .part:first-child {
display: flex;
}

.palette-box:nth-child(4) .palette-small .part:last-child {
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
}

Почему-то к последнему palette-box не применяется :last-child,пришлось делать через :nth-child(4).