refactoring of ColorContrastCalc.prototype.shouldScanDarkerSide():
refactoring of ColorContrastCalc.prototype.shouldScanDarkerSide():

use .hasSameLuminance() instead of .isSameColor()

nico-hn/color-contrast-calc