HSL in PHP
HSL is a read-and-write format in PHPColor: parse it from CSS, emit it with toCss(). There is no to('hsl') conversion target.
<?php
Color::parse('#3b82f6')->toCss('hsl');
// hsl(217.219 91.2195% 59.8039%)
Color::parse('#3b82f6')->toCss('hsl');
// hsl(217.219 91.2195% 59.8039%)