The very same API used in Fakechat, this takes an input string like "&4No &3sir&6ee" and converts it into a JSON table usable with commands.tellraw(). This also has functions writef() and printf(), for printing and writing with these formatted strings.

The colors API can't work one-to-one with the minecraft colors, because there aren't enough shades of blue in 'colors'. But it's close enough.

pastebin get z9i36a06 mcol


Put it in your chat programs! I'll try to put it in Enchat!