I don't use colored lights, but you could use smart bulbs or fixed colored lights controlled via smart plugs depending on your use case. Or just get something with built in multi color, like LED strips.
There are some LED strips that maintain programming thru powering off, just like how oil radiators with physical switches maintain settings thru powering off. These devices work great with smart plugs, and in the case of an oil radiator can be hooked up to a smart thermostat for a cheap man's smart home, fully portable for moving or apartment swapping.