Implement color metric, gradient, etc.