I am generating unique background color for the contact list, like this
I am trying to generate this like this..
Example
     <ul id="_blocks"></ul>
    <script>
        $(document).ready(function () {
            for (var i = 0; i < 100; i++) {
                $("<li/>").addClass("bts")
                           .append($("<span/>").addClass("_pe_h")
                            .append($("<div/>").addClass("nonDraftPart _pe_o1 _pe_H1")
                           .append(i)))
                            .appendTo($("#_blocks"));
            }
            $('.nonDraftPart').each(function () {
                var hue = 'rgb(' + (Math.floor((256 - 199) * Math.random()) + 200) + ',' + (Math.floor((256 - 199) * Math.random()) + 200) + ',' + (Math.floor((256 - 199) * Math.random()) + 200) + ')';
                $(this).css({ "background-color": hue, "background-size": "cover", "background-position": "50% 50%" });
                console.log(hue);
            });
        });
    </script>


 
    