Using the OSBot API; how could I retrieve the colours of an entity's model, such as an NPC? I've tried using methods getModifiedModelColors() and getOriginalModelColors() of the EntityDefinition class, which return small arrays of 16 bit integers.
I'm not entirely sure how to interpret these values, I'm guessing they represent indices in Runescapes colour palette, as they couldn't possibly represent a 24 bit colour-depth value. In any case, the arrays don't contain enough values for each face on the model, so there must be something I'm missing.
If you could clear this up for me, it would be much appreciated.