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.

$("table.ms-listviewtable td:nth-child(2)").css("background-color", "green");

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