Creating stylish randomly colored pearl using the power of html web components 🪩. Simple and useful for random placeholders for profile pic or avatar.
npm i random-color-pearl
<script src="https://unpkg.com/[email protected]/src/randomColorSvg.js"></script>
Then simply use the web component as:
<random-color-svg></random-color-svg>