FIG. 1 is an upper perspective view of the cooler with detachable legs showing my design. FIG. 2 is a front view thereof; FIG. 3 is a back view thereof; FIG. 4 is a side view thereof; FIG. 5 is an opposite side view thereof; FIG. 6 is a top plan view thereof; FIG. 7 is a bottom view thereof; FIG. 8 is another perspective view thereof, showing the lid in an open position; and, FIG. 9 is an exploded perspective view thereof, showing the legs in a detached position.