Floodlight for indoor and outdoor lighting