added convenience method to scale color values.