You can use the built-in Conditional Formatting using the formula option and this formula:

=ISODD(TEXT(A2,"#"))

Assumes row-1 is a header row.