D3DCOLOR_XRGB(r, g, b) will give you a DWORD with the correct red, green, and blue values and opaque alpha (0xff).
D3DCOLOR_ARGB(alpha, r, g, b) will do basically the same thing, but also set the alpha value that you specify. These macros can save you a lot of excess typing as well as compacting down all that color stuff to just one little line
