Homeworld Effects Manual: setColor()

setColorDist(float red, float green, float blue)

Useful values: [0 - 1] for all three variables.

Default values: (0,0,0)

Adds uncertainty to Color attribute.

red, green, and blue are clamped to the range [0.0 - 1.0] An object created with setColor([128 * 65536 + 128 * 256 + 128]) and setColorDist(0.125, 0.125, 0.125) may have a Color attribute anywhere from [96 * 65536 + 96 * 256 + 96] to [160 * 65536 + 160 * 256 + 160]