Hi, my code is: <br><br>( ... )<br><br>LAYER<br>&nbsp; NAME Depois_de_1995<br>&nbsp; <br>&nbsp; STATUS DEFAULT<br>&nbsp; DATA &quot;the_geom from constructmapasconselho using unique id_municipio&quot;<br>&nbsp; TYPE POLYGON<br>&nbsp; CONNECTIONTYPE POSTGIS
<br>&nbsp; CONNECTION &quot;user=consulta password=consulta<br>&nbsp; dbname=sipeas host=<a href="http://127.0.0.1">127.0.0.1</a>&quot;<br>&nbsp; UNITS METERS<br>&nbsp; SIZEUNITS METERS<br>&nbsp; <br>&nbsp; CLASSITEM &quot;data_cr&quot;<br>&nbsp; LABELITEM &quot;data_cr&quot;
<br><br>&nbsp; <span style="background-color: rgb(153, 153, 153); color: rgb(255, 255, 255);">CLASS</span><br>&nbsp;&nbsp;&nbsp; NAME &quot;Depois de 1995&quot;<br>&nbsp;&nbsp;&nbsp; EXPRESSION '1.00000'<br>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 0<br>&nbsp;&nbsp;&nbsp; <span style="background-color: rgb(153, 153, 153); color: rgb(255, 255, 255);">
COLOR 204 7 62</span><br>&nbsp;&nbsp;&nbsp; TEMPLATE &quot;data_cr.html&quot;<br>&nbsp;&nbsp; END<br>END # Layer<br><br>( ... )<br><br><br>I would like to know how to get the <span style="background-color: rgb(153, 153, 153); color: rgb(255, 255, 255);">
COLOR</span> ( R G B ) content from a class, using phpmapscript. Does anyone knows any function?<br><br>tks,<br>bruno<br>