OEGetColors
OEGetColors(colors: OEColorVec) -> Iterable[OEColor]
Returns the iterator from the vector of specified colors in the vector order, enabling setting a custom color iterator.
OEGetColors(fromcolor: OEColor, tocolor: OEColor, nrcolors: int) -> Iterable[OEColor]
Returns the iterator over nrcolors colors between the two given colors using a OELinearColorGradient class. See example in Figure: The ten colors that are returned from OEYellow to OEDarkRed colors.
The ten colors that are returned from OEYellow to OEDarkRed colors