use built-in coloring function