hex

Privateunrated

Content

24 lines
{=():}
{=(usetarget):{or(=={args(1)}|{in(@):{args(1)}}==true):true|false}}
{=(hex):{if({usetarget}==true):{target(color)}|{args(1)}}}
{=(hex):{lower:{replace(#,):{hex}}}}

{=(split):{replace(, ):{hex}}}
{=(split):{split(2+)}}
{=(chars):abcdef1234567890}

{=(valid1):{in({split(1)}):{chars}}}
{=(valid2):{in({split(2)}):{chars}}}
{=(valid3):{in({split(3)}):{chars}}}
{=(valid4):{in({split(4)}):{chars}}}
{=(valid5):{in({split(5)}):{chars}}}
{=(valid6):{in({split(6)}):{chars}}}
{=(end):{if(=={list(6):{join(~):{split}}}):true|false}}
{=(valid):{valid1} {valid2} {valid3} {valid4} {valid5} {valid6} {end}}
{{if({in(false):{valid}}==true):blacklist(Invalid hex code):{server(id)}}}

{=(url):https://singlecolorimage.com/get/{hex}/250x250}
{=(authorname):{if({usetarget}==true):{target}}}
{=(authoravatar):{if({usetarget}==true):{target(avatar)}}}
{=(title):Color for #{hex}}
{embed(color):#{hex}}

Embed

1 line
{"color": 5198940, "image": {"url": "{url}"}, "title": "{title}", "author": {"url": "", "name": "{authorname}", "icon_url": "{authoravatar}"}}
Raw JSON
{
  "id": 1268611,
  "created_at": "2022-04-26T10:38:04.520Z",
  "tag_name": "hex",
  "nsfw": false,
  "owner_id": "489484338514100234",
  "uses": 36,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "636003276881657857",
  "sharer": "489484338514100234",
  "content": "{=():}\n{=(usetarget):{or(=={args(1)}|{in(@):{args(1)}}==true):true|false}}\n{=(hex):{if({usetarget}==true):{target(color)}|{args(1)}}}\n{=(hex):{lower:{replace(#,):{hex}}}}\n\n{=(split):{replace(, ):{hex}}}\n{=(split):{split(2+)}}\n{=(chars):abcdef1234567890}\n\n{=(valid1):{in({split(1)}):{chars}}}\n{=(valid2):{in({split(2)}):{chars}}}\n{=(valid3):{in({split(3)}):{chars}}}\n{=(valid4):{in({split(4)}):{chars}}}\n{=(valid5):{in({split(5)}):{chars}}}\n{=(valid6):{in({split(6)}):{chars}}}\n{=(end):{if(=={list(6):{join(~):{split}}}):true|false}}\n{=(valid):{valid1} {valid2} {valid3} {valid4} {valid5} {valid6} {end}}\n{{if({in(false):{valid}}==true):blacklist(Invalid hex code):{server(id)}}}\n\n{=(url):https://singlecolorimage.com/get/{hex}/250x250}\n{=(authorname):{if({usetarget}==true):{target}}}\n{=(authoravatar):{if({usetarget}==true):{target(avatar)}}}\n{=(title):Color for #{hex}}\n{embed(color):#{hex}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{url}\"}, \"title\": \"{title}\", \"author\": {\"url\": \"\", \"name\": \"{authorname}\", \"icon_url\": \"{authoravatar}\"}}",
  "last_fetched": "2026-10-20T18:24:47.693Z"
}