31/31 Сложные палитры

Всем привет, не могли бы вы посмотреть, пожалуйста моё решение на 100%.

.palette-small {
display: flex;
}

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

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

.palette-box:first-child .color-5 {
order: -1;
}

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

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

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

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

.palette-box:nth-child(3) .palette-small,
.palette-box:last-child .palette-small {
justify-content: space-between;
}

.palette-box:nth-child(3) .palette-small .part,
.palette-box:last-child .palette-small .part {
display: flex;
}

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

.palette-box:last-child .palette-small .part:last-child {
flex-direction: column-reverse;
align-items: center;
justify-content: space-between;
}

.palette-small{
display: flex;
}
.palette-box:nth-child(1) .palette-small{
flex-direction: column;
justify-content: center;
}
.palette-box:nth-child(1) .color-3{
order:-1;
align-self: center;
}
.palette-box:nth-child(1) .color-4{
order:4;
align-self: center;
}
.palette-box:nth-child(1) .color-2{
order:2;
}
.palette-box:nth-child(2) .palette-small{
flex-direction:column-reverse;
justify-content:space-between;
}
.palette-box:nth-child(2) .color-1,
.palette-box:nth-child(2) .color-4{
align-self: flex-start;
}
.palette-box:nth-child(2) .color-2,
.palette-box:nth-child(2) .color-6{
align-self: flex-end;
}
.palette-box:nth-child(3) .palette-small,
.palette-box:last-child .palette-small {
justify-content: space-between;
}
.palette-box:nth-child(3) .palette-small .part,
.palette-box:last-child .palette-small .part{
display: flex;
}
.palette-box:nth-child(3) .part:first-child,
.palette-box:nth-child(3) .part:last-child{
flex-direction: column;
justify-content: space-between;
}
.palette-box:last-child .part:last-child{
flex-direction: column-reverse;
justify-content: space-between;
}