31/31 100% Проверьте пожалуйста код

.palette-small {
display: flex; 
flex-direction: column;        
justify-content: center; 

}

.palette-box:nth-child(1) .palette-small .color-2 {
order: 1;
}

.palette-box:nth-child(1) .palette-small .color-4 {
order: 2;
align-self: center;
}

.palette-box:nth-child(1) .palette-small .color-3 {
align-self: center;
}

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

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

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

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

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

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

.palette-small .part {
display: flex;
}

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

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

.palette-box:nth-of-type(3) .palette-small {
justify-content: space-between;
flex-direction: row;
}