function hsl2rgb(h, s, l) { .... echo("That was not a color! hsl2rgb()") return [0,0,0]; } both those functions ought to, not leave a condition where it could return nothing. check for out of range input. and give some heads up. more to do.
Post a reply to this message