You can determine the name of the chord when the root (lowest) note is played on the frets in the chart below.
Fret