Canon lens hoods are identified by a confusing and cryptical alphanumeric code. There is a system to the hood naming, though it’s only somewhat informative. Still, if you understand how the hood naming works you can usually figure out which hoods can be interchanged with other lenses.
Some hood naming examples:
ET-65 III
E indicates that the hood fits an EF mount lens.
T indicates that the hood fits a telephoto lens.
65 indicates that the hood mount is 65mm in diameter.
III indicates this is the third hood of the ET-65 series, and means in this case that the hood is flocked to reduce reflections.This particular lens hood fits a number of Canon EF telephoto lenses - the 85 1.8 USM, the 100 2.0 USM, the 135 2.8 SF, the 70-210/3.5-4.5, the 75-300 4-5.6 and the 100-300 4.5-5.6 USM.
EW-78B
E indicates that the hood fits an EF mount lens.
W indicates that the hood is for a wide angle lens.
78 indicates that the hood mount is 78mm in diameter.
B indicates that it’s a hood of type B.This particular hood fits the 28-135 3.5-5.6 IS USM.
ET-160
E indicates that the hood fits an EF mount lens.
T indicates that the hood fits a telephoto lens.
160 indicates that the hood mount is 160mm in diameter.This gigantic hood fits the 600mm 4L USM IS.
Knowing this system you can figure a few things out. For example, the EW-65, ES-65 and ET-65 can all clip onto the same lenses - the only difference is the length. The EW-65 is the shallowest lens and the ET-65 the deepest, so putting an ET-65 onto a 28mm 2.8 lens is a bad idea as you’ll get vignetting unless you have a cropped image sensor on a digital camera. But you can put an EW-65 onto a 100-300 4.5-5.6 USM if you like. It won’t shield your lens as effectively as the longer hood, but it’s better than nothing. Or if you can’t find the discontinued ES-65 you can always use the EW-65 instead.