Colours

Reduce the amount of colours in an image.

Colours example
<?php 
exec
("convert $input10 -colors 10 colors.jpg");
 
?>

In this case down to 10 colours.