consolidated lighten/darken functions