Use color function