Added colorpalette and retrieve index methods
Adde color palette and retrieval methods