PyCDC.GetNearestColor

int = GetNearestColor(color)

Returns the closest color a device can map.

Parameters

color : int

Specifies the color to be matched.