My planet originally was in a system with a blue star, but I think they are unstable and so it's not the best. So what type of stars give off more blue light in order for plants to be yellow or blue. And what is the habitable zone of a star that gives off more blue light, and can there be other options with a similar effect?
The color of plants does not depend on the color of the sun.
Here are real photosynthetic pigments. They are a variety of colors and capture energy from a variety of wavelengths. Our star kicks out lots of different wavelengths. These pigments capture the energy from certain wavelengths not because those wavelengths are more energetic, but because chance produced molecules that were able to do that.
Also note that the color of the pigment is not necessarily closely related to the optimal wavelength it absorbs. And also: the color of a plant might have nothing to do with its photosynthetic pigments. I have a Natal plum whose leaves turn red in direct sun. It is a pigment produced to protect from sunlight, not a photosynthetic pigment.
It is fun to have alien stars and fun to invent colorful alien plants. Do not feel constrained by your star as regards coloring your plants!
There are two kinds of habitable planets discussed by scientists.
Most scientific disussion are about planets habitable for liquid water using lifeforms in general.
Suppose that a supernatural being teleported you to a randomingly selected point in the planet Earth's biosphere where lifeforms live. You would almost certainly die, since Earth's biosphere extends for kilometers above and below the surface. You maight appear kilometers high in the sky amoung birds and floating micro organisms and plummet to your death. You might appear deep under the sea or inside solid rock.
If you are teleported to a randomly selected place on the surface of the Earth, you will have about a 70 percent chance of drowning in the ocean out of sight of the nearest land. If you are teleported to a randomly spot on the land area of Earth without knowing where, you won't be able to prepare with the right clothing and other survival gear and might die within days or hours.
Earth is full of lifeforms that can survive in places deadly for humans. And some planets might be totally uninhabitable for any lifeforms on Earth but still be habitable for liquid water using lifeforms which evolved there. Planets habitable for humans and beings with similar requirementsin particular are a minority of all planets habitable for liquid water using life in general.
Planets habitable for humans, and for other life forms with the same environmental requirements.
And as far as I know the main scientific discussion of planets habitable for humans is Habitable Planets for Man, Stephen H. Dole, 1964.
And science fiction writers should read what Dole says on pages 67 to 75 about the types of stars which can have planets habitable for humans (and life forms with similar requirements).
Any star that can stay of the main sequence for 500 millior or a billion years might possibly have planets which develop simple life forms before the star enters the giant stage of its development.
But if a writer wants a planet with multi celled life forms big enough to see without a microsope, and especially if they want a planet with an oxygen rich atmosphere that humans, large land animals, or intelligent aliens can breathe, they should stay within the limitations of spectral type stars selected by Dole.
Try the star Canopus its color is mostly blue and has some white not unstable and shows strong signs of convection in its atmosphere. Here is some more information about Canopus.