»

LJ::color_fromdb

LJ::color_fromdb — Takes a value of unknown type from the db and returns an #rrggbb string.

Use

LJ::color_fromdb(color);

Arguments

  • color. either a 24-bit decimal number, or an #rrggbb string.

Source:

cgi-bin/ljlib.pl

Returns:

scalar; #rrggbb string, or undef if unknown input format