# File lib/color/palette/monocontrast.rb, line 166 166: def brightness_diff(c1, c2) 167: (c1.brightness - c2.brightness).abs 168: end