How do I identify the correct cylinder for replacement?

How do I identify the correct cylinder for replacement?

 

Measure the cylinder port to port on center, subtract 1 1/2 inches, note the color of cylinder and consult the Hydraulic Cylinder Matrix.