We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
<?php use SyHolloway\MrColor\Color; $color1 = Color::load('rgba(200, 54, 129, 0.2)'); $color1->dump(); if($color1->isDark()) { $color1->lighten(20); } else { $color1->darken(20); } $color1->dump(); $color2 = $color1->copy()->complementary(); $color1->dump(); $color2->dump(); $color1->sync($color2); $color1->dump(); $color2->dump(); var_dump(Color::test()); echo $color2->getRgbaString(); echo $color2; ?>