Available in the LEADTOOLS Imaging toolkit.
iIndex
Index of the RGB element in the elements array. This is a zero-based index.