What happens if I turn off the WI-FI router?

I will buy some bulbs. I usually power off my router at night. What will happen to the bulbs ? Are they going to work, or it will turn off? What happens if i turn the router off and after that the wall switch too, and later I turn on the wall switch, will the bulb work?

Power off your router will only matters you won’t be able to control your bulb with app. Smart bulb is still a bulb even if it can’t connect to network.