hex

Privateunrated

Content

17 lines
{=(note):The following code is for verifying if you're using a hex code.}
{var(colname):{or({message}==Green | {message}==green):#90ee90|{or({message}==Red |{message}==red):#ff7d7d|{or({message}==Green |{message}==green):#90ee90|{or({message}==Blue |{message}==blue):#849eff|{or({message}==White |{message}==white):#f3f3f3|{or({message}==Black |{message}==black):#292929|{or({message}==Cyan |{message}==cyan):#b4ecff|{or({message}==Yellow |{message}==yellow):#fff194|{or({message}==Magenta |{message}==magenta):#ff00ff|{or({message}==Orange |{message}==orange):#ffb381|{or({message}==Gray|{message}==gray|{message}==grey |{message}==Grey):#bebebe|{or({message}==Purple | {message}==purple):#a480ff|{or({message}==Pink |{message}==pink):#ffa3e4|{or({message}==Brown | {message}==brown):#CCB07C|}}}}}}}}}}}}}}}

{var(vrf1):{replace(, ):{message}}}
{var(vrf2):{in(g):{message}}{in(h):{message}}{in(i):{message}}{in(j):{message}}{in(k):{message}}{in(l):{message}}{in(m):{message}}{in(n):{message}}{in(o):{message}}{in(p):{message}}{in(q):{message}}{in(r):{message}}{in(t):{message}}{in(u):{message}}{in(v):{message}}{in(w):{message}}{in(x):{message}}{in(y):{message}}{in(z):{message}}{in(G):{message}}{in(H):{message}}{in(I):{message}}{in(J):{message}}{in(K):{message}}{in(L):{message}}{in(M):{message}}{in(N):{message}}{in(O):{message}}{in(P):{message}}{in(Q):{message}}{in(R):{message}}{in(T):{message}}{in(U):{message}}{in(V):{message}}{in(W):{message}}{in(X):{message}}{in(Y):{message}}{in(Z):{message}}}

{var(colnamecheck):{if({colname}==):false|true}}

{var(embdesc):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}):{or({in(<@):{message}}==true): Color for the hex code: `{target(color)}`|{or({colnamecheck}==true):Color for the hex code: `{colname}` | Either this wasn't a hex code, or the color wasn't identified.}} | Color for the hex code: `{message}`}}

{var(msg#):{replace(#,):{message}}}{var(targ#):{replace(#,):{target(color)}}}{var(colname#):{replace(#,):{join():{colname}}}}

{var(emburl):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}):{or({in(<@):{message}}==true): https://colorhexa.com/{targ#}.png |{or({colnamecheck}==true): https://colorhexa.com/{colname#}.png | }} | https://colorhexa.com/{msg#}.png}} 

{var(embtitle):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}):{or({in(<@):{message}}==true | {colnamecheck}==true):Hexing... | Incorrect Argument} | Hexing...}}

{var(embcol):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}): {or({in(<@):{message}}==true):{target(color)} | {or({colnamecheck}==true):{colname} | #ff0000}} | {message}}}{embed(color):{embcol}}

Embed

1 line
{"color": 5198940, "title": "{embtitle}", "thumbnail": {"url": "{emburl}"}, "description": "{embdesc}"}
Raw JSON
{
  "id": 876909,
  "created_at": "2021-06-08T21:28:33.000Z",
  "tag_name": "hex",
  "nsfw": false,
  "owner_id": "599997286055149578",
  "uses": 126,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "unrated",
  "hidden": false,
  "guild_id": "777307706683293707",
  "sharer": "599997286055149578",
  "content": "{=(note):The following code is for verifying if you're using a hex code.}\n{var(colname):{or({message}==Green | {message}==green):#90ee90|{or({message}==Red |{message}==red):#ff7d7d|{or({message}==Green |{message}==green):#90ee90|{or({message}==Blue |{message}==blue):#849eff|{or({message}==White |{message}==white):#f3f3f3|{or({message}==Black |{message}==black):#292929|{or({message}==Cyan |{message}==cyan):#b4ecff|{or({message}==Yellow |{message}==yellow):#fff194|{or({message}==Magenta |{message}==magenta):#ff00ff|{or({message}==Orange |{message}==orange):#ffb381|{or({message}==Gray|{message}==gray|{message}==grey |{message}==Grey):#bebebe|{or({message}==Purple | {message}==purple):#a480ff|{or({message}==Pink |{message}==pink):#ffa3e4|{or({message}==Brown | {message}==brown):#CCB07C|}}}}}}}}}}}}}}}\n\n{var(vrf1):{replace(, ):{message}}}\n{var(vrf2):{in(g):{message}}{in(h):{message}}{in(i):{message}}{in(j):{message}}{in(k):{message}}{in(l):{message}}{in(m):{message}}{in(n):{message}}{in(o):{message}}{in(p):{message}}{in(q):{message}}{in(r):{message}}{in(t):{message}}{in(u):{message}}{in(v):{message}}{in(w):{message}}{in(x):{message}}{in(y):{message}}{in(z):{message}}{in(G):{message}}{in(H):{message}}{in(I):{message}}{in(J):{message}}{in(K):{message}}{in(L):{message}}{in(M):{message}}{in(N):{message}}{in(O):{message}}{in(P):{message}}{in(Q):{message}}{in(R):{message}}{in(T):{message}}{in(U):{message}}{in(V):{message}}{in(W):{message}}{in(X):{message}}{in(Y):{message}}{in(Z):{message}}}\n\n{var(colnamecheck):{if({colname}==):false|true}}\n\n{var(embdesc):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}):{or({in(<@):{message}}==true): Color for the hex code: `{target(color)}`|{or({colnamecheck}==true):Color for the hex code: `{colname}` | Either this wasn't a hex code, or the color wasn't identified.}} | Color for the hex code: `{message}`}}\n\n{var(msg#):{replace(#,):{message}}}{var(targ#):{replace(#,):{target(color)}}}{var(colname#):{replace(#,):{join():{colname}}}}\n\n{var(emburl):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}):{or({in(<@):{message}}==true): https://colorhexa.com/{targ#}.png |{or({colnamecheck}==true): https://colorhexa.com/{colname#}.png | }} | https://colorhexa.com/{msg#}.png}} \n\n{var(embtitle):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}):{or({in(<@):{message}}==true | {colnamecheck}==true):Hexing... | Incorrect Argument} | Hexing...}}\n\n{var(embcol):{or({in(#):{message}}==false | {in(true):{vrf2}}==true | {vrf1(+8)}!={vrf1}): {or({in(<@):{message}}==true):{target(color)} | {or({colnamecheck}==true):{colname} | #ff0000}} | {message}}}{embed(color):{embcol}}",
  "embed": "{\"color\": 5198940, \"title\": \"{embtitle}\", \"thumbnail\": {\"url\": \"{emburl}\"}, \"description\": \"{embdesc}\"}",
  "last_fetched": "2026-10-20T16:43:45.673Z"
}