uses const ccColor & in the interface instead of ccColor&