$ luarocks install hexadecA module that can convert numbers of n-base (up to 36) and strings to hexadecimal using a special type representing hexadecimal in a table. It can also convert back or transform it into RGB (RGBA) using 0-255 or 0-1 types.
This module have 8 padronized functions and includes some sub-modules, such as:
--> Lite: Includes only two principal functions and can be faster than some C modules using direct indexing;
-- > (COMING SOON)...
Versions
Dependencies
lua >= 5.1