The National Weather Service says a hurricane warning is in effect for the Colombian island of Providencia , off the coast of Nicaragua .