change convertColor of Color class from static to non-static