Can LED lights be used for both veg and bloom stages?

I am considering purchasing LED lights for my cannabis plants, but I am not sure if they can be used for both the vegetative and blooming stages. Can LED lights be adjusted to accommodate both stages or is it necessary to have separate lights for each?