Module colorizer.parser.argb_hex

Helper function to parse argb

Functions

parser.argb_hex_parser (line, i) parse for 0xaarrggbb and return rgb hex.


Functions

parser.argb_hex_parser (line, i)
parse for 0xaarrggbb and return rgb hex. a format used in android apps

Parameters:

  • line string: line to parse
  • i number: index of line from where to start parsing

Returns:

  1. number|nil: index of line where the hex value ended
  2. string|nil: rgb hex value
generated by LDoc 1.4.6 Last updated - February