Improve color lightness function in button mixin