This is a fantastic day trip and will highlight the fairly new high-speed rail alignment between Frankfurt and Cologne and how it not only brings those two urban centers close together but also serves to shorten much longer rail trips like Amsterdam-Frankfurt. Historically, the F and C were fairly far apart.
A return trip via conventional (non-HSR) but fairly fast trains through the Rhine Valley is a good complement.