fix getMainCoinColorValue in cc-core