$ luarocks install hexadecCan convert numbers of n-base (up to 36) and strings to hexadec (special type representing hexadecimal in a table) that can be converted
back or become RGB (RGBA) colors, dump and be cleaned, with a secure mode for the decode function.
Functions:
NCode - Codes numeric strings to a hexadec type
SCode - Codes strings to a hexadec type
NDecode - Decodes a hexadec type to numbers
SDecode - Decodes a hexadec type to strings
IsHex - Validates a hexadec type or a string
Clean - Cleans a hexadec type or a string or a number excluding non-hexadecimal caracteres
Dump - Hexdump from a hexadec type
Color - Uses a table or a string to create RGB or RGBA (with Alpha)
Versions
Dependencies
lua >= 5.1