Classifying stars using GEDR3

Is there a way to take the Gaia Early Data Release 3 dataset and calculate a likely star size (radius and mass) (units not relevant), and emission spectra (hydrogen, helium) or light color? Please note that this does not have to be precise or precisely accurate, just in the right ballpark (I will not be worrying about noise, errors, or error adjustments from the data set) (no +/- 0.1237610987564 luminosity will be used in the database I'm creating)

I'm building a star map for a future project, and I'd like to be able to assign stars at their actual locations with a size and, preferably type, but I'll settle for color.

Any assistance greatly appreciated as the maths is not my strong suit, although the Excel certainly is and once I know how to do it for one, it'll be (relatively) quick and easy to do it for all of them.

Please try to keep answers in plain English at just below the Calculus level, as I never started Calculus. Thank you.

• What do you mean by size and emission spectra? Do you mean radius and spectral type/classification or temperature? Aug 30, 2022 at 21:30
• Edited original question to clarify, but I really want to know radius and visible light emission as if you were at or near the source. I can convert from emission spectra to visible light and from visible light to spectral type, but if it's easier to just tell me how to calculate the spectral type using the GDR3 data, that's fine, too. Aug 31, 2022 at 0:16
• @ProfRob What's interstellar extinction? I'm sorry if I'm unclear about emission spectra, let me try to explain what I'm looking for. Our sun (Sol) has a spectral classification of G2V, a color of (B-V) of 0.63, and a Luminosity of 3.828×1026 W. I want to convert the GDR3 data into those elements, if possible so that I can say what a given star would look like if you were in the same solar system as it. Emission spectra can be used to determine the color of a star by taking the observed emission lines from the star and blue-shifting them back along the distance travelled. Aug 31, 2022 at 21:31
• @ProfRob So...emission spectra say which elements from the periodic table have been excited into light from the source. Take Hydrogen, and excuse the crudity, but the emission lines look something like this: | | ||| | | If you find that pattern in the Deep Infrared, you know that the light has been red-shifted by x amount, and you can take the distance measurement and "re-align" the emission lines to where they should be. With that, you can determine which other elements the star is burning and that contributes to total color. Aug 31, 2022 at 21:33
• Okay...so GDR3 contains a pseudocolour # for a large number of stars. How does that convert to actual colors? e.g. source Gaia EDR3 23435098209438976 has a pseudocolour of 1.5506241. Is that Red? Is it Yellow? Is it green? Is it 610 nanometers? What is it and how do I convert it to RGB / CMYK / nanometers or whatever else? Aug 31, 2022 at 23:58

Regarding the color of a star, if you don't need anything precise, you can assume that the spectrum of a star is a black body at an effective temperature $$T_\text{eff}$$. Given the temperature, you can calculate a RGB representation of the color using for instance the table provided in this website