brightness_difference() public static méthode

A return value of more than 125 is recommended. Combining it with the color_difference function above might make sense.
public static brightness_difference ( string $color_1 = '#ffffff', string $color_2 = '#000000' ) : string
$color_1 string The 1st color.
$color_2 string The 2nd color.
Résultat string
 public function test_brightness_difference()
 {
     $this->assertEquals('0', Kirki_Color::brightness_difference('fff', '#ffffff'));
     $this->assertEquals('255', Kirki_Color::brightness_difference('fff', '000'));
     $this->assertEquals('255', Kirki_Color::brightness_difference('#000000', '#ffffff'));
     $this->assertEquals('181', Kirki_Color::brightness_difference('#f2f2f2', '#c00'));
     $this->assertEquals('13', Kirki_Color::brightness_difference('#f2f2f2', '#ffffff'));
 }