Color::contrast
Return a contrasting color
Signature
public function contrast([float
$fraction = 1.0] )
Parameters
$fraction
— float- The amount of contrast default = 1.0 i.e 100% or
180 degrees
public function contrast([float
$fraction = 1.0] )
$fraction
—
float