Making `Color` utility function static.