public static Expression lighten ( Generator generator , FunctionCall input ) { Color color = input . getExpectedColorParam ( 0 ) ; int increase = input . getExpectedIntParam ( 1 ) ; return changeLighteness ( color , increase ) ; }
Increases the lightness of the given color by N percent .