minetest.colorize

Description
Adds color escape sequence around the given text, allowing to send colored text to formspecs (maybe more).

Parameters
1: colorstring of the desired color (#RGB, #RGBA, #RRGGBB, #RRGGBBAA or named color according to CSS colors)

2: text to color