SVG background .hex { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='143' height='165'><polygon fill='#8DC63F' points='142.992,123.828 71.5,165.104 0.008,123.828 0.008,41.276 71.5,0 142.992,41.276 '/></svg>"); }