Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (8 sloc) 458 Bytes
<?php
// test.php for color
require_once('Color.php');
$c = new Color('F00');
?>
<div style="width: 100px; height: 100px; background:<?php echo $c;?>"><?php echo implode(',', $c->hsl); ?></div>
<div style="width: 100px; height: 100px; background:<?php echo $c->mix('#0F0');?>"><?php echo implode(',', $c->hsl); ?></div>
<div style="width: 100px; height: 100px; background:<?php echo $c->mix('#00F');?>"><?php echo implode(',', $c->hsl); ?></div>
You can’t perform that action at this time.