colorcheck

Privateunrated

Content

26 lines
{=(hexchecklist):0 1 2 3 4 5 6 7 8 9 a b c d e f}

{=(inputcheck):{lower:{1}}}

{=(hexinputcheck):{replace(, ):{inputcheck(2):#}}}

{=(hexcheck):{or({in(false):{in(#):{1}}{contains({hexinputcheck(2)}):{hexchecklist}}{contains({hexinputcheck(3)}):{hexchecklist}}{contains({hexinputcheck(4)}):{hexchecklist}}{contains({hexinputcheck(5)}):{hexchecklist}}{contains({hexinputcheck(6)}):{hexchecklist}}{contains({hexinputcheck(7)}):{hexchecklist}}}==true|{hexinputcheck}==|{hexinputcheck(8+)}!=):false|true}}

{=(decicheck):{and({m:trunc({1}/1)}=={1}|{1}>=0|{1}<=16777215):true|false}}

{=(rgbcheck):{and({inputcheck(3+):,}!=|{inputcheck(4+):,}==|{m:trunc(({inputcheck(1):,}+{inputcheck(2):,}+{inputcheck(3):,})/1)}=={m:trunc({inputcheck(1):,}+{inputcheck(2):,}+{inputcheck(3):,})}|{inputcheck(1):,}>=0|{inputcheck(1):,}<=255|{inputcheck(2):,}>=0|{inputcheck(2):,}<=255|{inputcheck(3):,}>=0|{inputcheck(3):,}<=255):true|false}}

{=(mecheck):{in(m):{1}}}

{=(mentioncheck):{if({user(id)}!={target(id)}):true|false}}

{=(helpcheck):{in(h):{1}}}

{=(checks):{hexcheck}{decicheck}{rgbcheck}{mecheck}{mentioncheck}{helpcheck}}

{=(desc):Detected input: {if({hexcheck}==true):Hexadecimal }{if({decicheck}==true):Decimal }{if({rgbcheck}==true):RGB }{if({mecheck}==true):Me }{if({mentioncheck}==true):UserMention }{if({helpcheck}==true):Help }}

{=(output):{if({in(true):{checks}}==true):43b581 <:GreenTick:699124840879226922> Valid input~{desc}|ef4847 <:RedTick:699124870352732251> Invalid input}}

{c:embed {channel(id)} {replace(~,|):{output}}}
Raw JSON
{
  "id": 222016,
  "created_at": "2022-04-26T10:36:36.305Z",
  "tag_name": "colorcheck",
  "nsfw": false,
  "owner_id": "643448506064961536",
  "uses": 74,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "642941354300669958",
  "sharer": "643448506064961536",
  "content": "{=(hexchecklist):0 1 2 3 4 5 6 7 8 9 a b c d e f}\n\n{=(inputcheck):{lower:{1}}}\n\n{=(hexinputcheck):{replace(, ):{inputcheck(2):#}}}\n\n{=(hexcheck):{or({in(false):{in(#):{1}}{contains({hexinputcheck(2)}):{hexchecklist}}{contains({hexinputcheck(3)}):{hexchecklist}}{contains({hexinputcheck(4)}):{hexchecklist}}{contains({hexinputcheck(5)}):{hexchecklist}}{contains({hexinputcheck(6)}):{hexchecklist}}{contains({hexinputcheck(7)}):{hexchecklist}}}==true|{hexinputcheck}==|{hexinputcheck(8+)}!=):false|true}}\n\n{=(decicheck):{and({m:trunc({1}/1)}=={1}|{1}>=0|{1}<=16777215):true|false}}\n\n{=(rgbcheck):{and({inputcheck(3+):,}!=|{inputcheck(4+):,}==|{m:trunc(({inputcheck(1):,}+{inputcheck(2):,}+{inputcheck(3):,})/1)}=={m:trunc({inputcheck(1):,}+{inputcheck(2):,}+{inputcheck(3):,})}|{inputcheck(1):,}>=0|{inputcheck(1):,}<=255|{inputcheck(2):,}>=0|{inputcheck(2):,}<=255|{inputcheck(3):,}>=0|{inputcheck(3):,}<=255):true|false}}\n\n{=(mecheck):{in(m):{1}}}\n\n{=(mentioncheck):{if({user(id)}!={target(id)}):true|false}}\n\n{=(helpcheck):{in(h):{1}}}\n\n{=(checks):{hexcheck}{decicheck}{rgbcheck}{mecheck}{mentioncheck}{helpcheck}}\n\n{=(desc):Detected input: {if({hexcheck}==true):Hexadecimal }{if({decicheck}==true):Decimal }{if({rgbcheck}==true):RGB }{if({mecheck}==true):Me }{if({mentioncheck}==true):UserMention }{if({helpcheck}==true):Help }}\n\n{=(output):{if({in(true):{checks}}==true):43b581 <:GreenTick:699124840879226922> Valid input~{desc}|ef4847 <:RedTick:699124870352732251> Invalid input}}\n\n{c:embed {channel(id)} {replace(~,|):{output}}}\n",
  "embed": "{}",
  "last_fetched": "2026-10-20T21:44:50.683Z"
}