colortext
Based on Raffael's excellent colortext tag ( https://carl.gg/t/98660 ) with an improvement: colorized text now includes the issuing user's nick, IRC style. Be sure to issue `!tag a c colortext` to enable `!c <color> <text>`! Puts {args(2+)} into a code-block to color the text the specified color. Type anything other than one of the color options to see a list of the color options. Certain symbols might change the color and behavior of the output. All options should work for multiline input. Mention a channel as the 2nd arg to send the output to that channel.
Privateunrated
Content
37 lines{=(comment):Change the prefix and tagname below to match how you have it set up on your server}
{=(prefix):!}
{=(tagname):colortext}
{delete}
{=(la):{lower:{args(1)}}}
{=(options):red green yellow cyan blue orange grey gray hl highlight}
{=(colorcheck):{contains({la}):{options}}}
{=(channelcheck):{in(<#):{args(2)}}}
{redirect:{all({colorcheck}==true|{channelcheck}==true):{args(2)}|{channel(id)}}}
{=(text):{args({if({channelcheck}==true):3|2}+)}}
{=(red):diff
-{replace(
,
-):{user}: {text}}}
{=(green):css
{user}: {text}}
{=(yellow):fix
{user}: {text}}
{=(cyan):yaml
{user}: {text}}
{=(blue):ini
[{user}: {text}]}
{=(orange):crystal
@[{user}: {text}]}
{=(grey):brainfuck
{user}: {text}}
{=(gray):{grey}}
{=(hl):tex
${user}: {text}}
{=(highlight):{hl}}
{if({colorcheck}==true):```{{la}}```|colortext <color> [#channel] <text> `{prefix}{tagname} red text`
Color and text are required arguments, channel is optional. Do not include the `< >` or `[ ]` symbols.
Colors: {join(`, `):`{options}`} Get this tag: https://carl.gg/t/411654 }Raw JSON
{
"id": 411654,
"created_at": "2020-11-05T06:08:49.000Z",
"tag_name": "colortext",
"nsfw": false,
"owner_id": "597415953914920981",
"uses": 13,
"description": "Based on Raffael's excellent colortext tag ( https://carl.gg/t/98660 ) with an improvement: colorized text now includes the issuing user's nick, IRC style. Be sure to issue `!tag a c colortext` to enable `!c <color> <text>`!\nPuts {args(2+)} into a code-block to color the text the specified color. Type anything other than one of the color options to see a list of the color options. Certain symbols might change the color and behavior of the output. All options should work for multiline input. Mention a channel as the 2nd arg to send the output to that channel.",
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "772926444686016543",
"sharer": "597415953914920981",
"content": "{=(comment):Change the prefix and tagname below to match how you have it set up on your server}\n{=(prefix):!}\n{=(tagname):colortext}\n\n{delete}\n{=(la):{lower:{args(1)}}}\n{=(options):red green yellow cyan blue orange grey gray hl highlight}\n\n{=(colorcheck):{contains({la}):{options}}}\n{=(channelcheck):{in(<#):{args(2)}}}\n{redirect:{all({colorcheck}==true|{channelcheck}==true):{args(2)}|{channel(id)}}}\n{=(text):{args({if({channelcheck}==true):3|2}+)}}\n\n{=(red):diff\n-{replace(\n,\n-):{user}: {text}}}\n{=(green):css\n{user}: {text}}\n{=(yellow):fix\n{user}: {text}}\n{=(cyan):yaml\n{user}: {text}}\n{=(blue):ini\n[{user}: {text}]}\n{=(orange):crystal\n@[{user}: {text}]}\n{=(grey):brainfuck\n{user}: {text}}\n{=(gray):{grey}}\n{=(hl):tex\n${user}: {text}}\n{=(highlight):{hl}}\n\n{if({colorcheck}==true):```{{la}}```|colortext <color> [#channel] <text> `{prefix}{tagname} red text`\nColor and text are required arguments, channel is optional. Do not include the `< >` or `[ ]` symbols.\nColors: {join(`, `):`{options}`} Get this tag: https://carl.gg/t/411654 }",
"embed": "{}",
"last_fetched": "2026-10-20T23:01:41.943Z"
}