user warning: Table './zuggsoftdb/accesslog' is marked as crashed and should be repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('', 'node/356', '', '38.107.179.242', 0, 'p9hsf3bgjdo5ftg4qbk7n6hpq6', 9253, 1337598602) in /home/tessh/public_html/modules/statistics/statistics.module on line 64.

Documentation

Added in v3.08

hexcolor

Syntax: %hexcolor(n)
Related: %colorname, %rgb

Convert a Windows color value to a RGB hex string. The resulting string can be used in MXP set a color. A Windows color string has the format #BBGGRR (reverse of what is normally used in HTML)

Example

#SHOW %colorname(gold)
#SHOW %hexcolor( %colorname(gold))

The first line displays the Windows color value associated with the "gold" name, which is 55295. The second line converts this to a proper HTML hex string of #FFD700

Add comment

Login or register to post comments