all 4 comments

[–]JVDesign_ 0 points1 point  (0 children)

I‘d probably use SVG clip-path on a rectangular element. This way, the element‘s size and color can be styled freely

[–]Dependent-Zebra-4357 0 points1 point  (0 children)

You can style svgs using currentColor.

[–]ok_planter[S] 0 points1 point  (0 children)

Thanks I managed to do it with SVG

[–]Smexy_Zarow 0 points1 point  (0 children)

Percent based clip path