Re: Game Technologies: General Colors, RGB values and vector confusion
n0n4m3
Hi,
usually the color's components are stored between 0 and 1 like you said, to convert from the 0 - 255 to 0 - 1 just divide the value of each component by 255.
The use of vector4 instead of vector3 is because of the alpha channel. The alpha channel has the opacity or transparency of the color which is usually also a value between 0 (completely transparent) and 1 (opaque).
As for tools to do what you want, well I don't know any from memory now but you could use Color.FromArgb in many cases to get a color using 0 - 255 values.