SP List Vertical Column Color

If you ever wondered how to vertically color a SharePoint list column.
The best way I found out is by using the column number. Simply modify the td:nth-child(#) and the entire column from top to bottom will be colored.

$(document).ready(function(){
$("table.ms-listviewtable td:nth-child(2)").css("background-color", "green");
});
 </script>

Is this Pages usefull? Usefull Useless 0 of 0 people say this Pages is usefull.