If the color syntax is used then the given value specifies an index into the current color table. The resulting color is hard to predict, so this old style is no longer recommended.
With the rgb syntax, an arbitrary RGB (red green blue) value can be assigned to a part (this is not supported for hyperedges). The range of each color channel is from 0 to 255. The actual color resolution depends on your display hardware.