LJ::color_fromdb — Takes a value of unknown type from the db and returns an #rrggbb string.
LJ::color_fromdb
(color);
color. either a 24-bit decimal number, or an #rrggbb string.
cgi-bin/ljlib.pl
scalar; #rrggbb string, or undef if unknown input format