Ok I'm doing an assignment to create a solar system. I've gotten the program to function but having trouble with some of the colors for the planets.

I'm wanting Venus to be gold & Mercury to be brown (or as close as possible).

I have the Sun, Mars & Earth already done.

here is the code for the colorscheme

planets[i].diffuse = D3DCOLOR_COLORVALUE(r, g, b, a);

If anyone has a link to a site that lists the values for various colors that would be great too.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.