LuaRocks.org had a security incident in September 2026. Read the incident report.

hexadec

A module that can make conversion between hexadecimal, numbers and strings.

$ luarocks install hexadec

A 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

1.2.1-188 days ago0 downloads
1.2.0-188 days ago0 downloads
1.1.1-189 days ago0 downloads
1.1.0-291 days ago0 downloads
1.1.0-192 days ago0 downloads
1.0.0-291 days ago0 downloads
1.0.0-194 days ago0 downloads

Dependencies

lua >= 5.1

Labels

Manifests