fix for function name
re #98
Merge pull request #129 from ivanovv/fix-getIndexByColor

fix for function name