.color-label { display: inline-block; width: 1em; height: 1em; margin: 0 -.15em -.11em .25em; border-radius: .2em; } .color-list { display: flex; flex-wrap: wrap; justify-content: space-evenly; } .color-palette { display: flex; flex-direction: column; flex: 1 1 0px; align-items: center; min-width: max-content; margin: 2rem; } .color-palette > .color-name { font-size: 1.25rem; } .color-palette > .colors { display: flex; flex-direction: column; } .color-container { display: flex; align-items: center; } .color-box { display: block; width: 3rem; height: 3rem; } .color-code { margin-left: .5rem; }