Starcraft uses a 256 color palette to render everything,
so the colors available for draw shapes using BWAPI is limited to the colors available in the Pallete.
Several predefined colors from the pallete are provided.
Create a color using the color in the palette that is closest to the RGB color specified. This will check a number of colors in the pallet to see which is closest to the specified color so this function is relatively slow.