<h4>Красим коды в разные цвета :</h4>
<div>
  <p><span>(343)</span> 1111111</p>
  <p><span>(344)</span> 1111111</p>
  <p><span>(355)</span> 1111111</p>
  <p><span>(365)</span> 1111111</p>
  <p><span>(3333)</span> 1111111</p>
  <p><span>(1232)</span> 1111111</p>

</div>
div {
  padding: 16px;
  background-color: black;
}

p {
  font-size: 16px;
  color: white;
  margin:5px; 
}
$(document).ready(function() {
  function getRandomColor() {
    var letters = "0123456789ABCDEF";
    var color = "#";
    for (var i = 0; i < 6; i++) {
      color += letters[Math.floor(Math.random() * 16)];
    }
    return color;
  }

  $("span").each(function() {
    $(this).css({ color: getRandomColor() });
  });
});

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js