Colours

Find and display the colours installed with ImageMagick


<?php
echo "<pre>";
system("convert -list color");
echo 
"</pre>";
?>

Note: System desplays the results to the screen where exec will not.

The code output ( just the first few displayed ).

Path: C:\Program Files\ImageMagick-6.3.4-Q16\config\colors.xml

NameColorCompliance
AliceBluergb(240,248,255)SVG X11 XPM
AntiqueWhitergb(250,235,215)SVG X11 XPM
AntiqueWhite1rgb(255,239,219)X11
AntiqueWhite2rgb(238,223,204)X11
AntiqueWhite3rgb(205,192,176)X11
AntiqueWhite4rgb(139,131,120)X11
aquargb(0,255,255)SVG
aquamarinergb(127,255,212)SVG X11 XPM
aquamarine1rgb(127,255,212)X11