19.08.2017, 23:11
With "converter" color.
use
EX: from 0x452A0DFF to 452A0D
and from 10 digits converted to 6 digits, only good for css.
Then you can create a div with turf size with color converted
Example: <div style="background-color:#'.substr($Field['ColorTurf'],2,-2).'; width: xpx; height:ypx;">
use
PHP код:
substr($Field['ColorTurf'],2,-2);
and from 10 digits converted to 6 digits, only good for css.
Then you can create a div with turf size with color converted
Example: <div style="background-color:#'.substr($Field['ColorTurf'],2,-2).'; width: xpx; height:ypx;">