iterami
/
Docs.htm
/
common HTM Projects
/
core.js
/core_hex_to_rgb(hex)
Converts a hexadecimal string of length 3 or 6 to red, green, and blue, and returns it as an object.
Handles hex strings that optionally begin with "#".
Arg
Default
Type
hex
string