col1

Private

Content

103 lines
{delete}
{=():}
{=(tag):col}
{=(pre):!}
{=(htr):rgb}
{=(hex):hex}
{=(dec):dec}
{=(add):add}
{=(sub):sub}
{=(ran):ran}

{=(largs):{lower:{replace(#,):{args}}}}
{=(option):{largs(1)}}
{=(red):{largs(3)}}
{=(green):{largs(4)}}
{=(blue):{largs(5)}}
{=(cs):{replace(, ):{largs(2)}}}
{=(cn):{replace(f,15):{replace(e,14):{replace(d,13):{replace(c,12):{replace(b,11):{replace(a,10):{cs}}}}}}}}
{=(hl):0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f}
{=(embedc):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}

{break({option}=={htr}):
{=(desr):Your RGB value : `{m:trunc({cn(-6)}*16 + {cn(-5)})}, {m:trunc({cn(-4)}*16 + {cn(-3)})}, {m:trunc({cn(-2)}*16 + {cn(-1)})}`}
{=(mainurlr):https://dummyimage.com/100x100/{cs(-6)}{cs(-5)}{cs(-4)}{cs(-3)}{cs(-2)}{cs(-1)} }
}
	
{break({option}=={hex}):
{=(hexnum):{m:trunc({largs(2)}/16)} {m:trunc({largs(2)} - trunc({largs(2)}/16)*16)} {m:trunc({largs(3)}/16)} {m:trunc({largs(3)} - trunc({largs(3)}/16)*16)} {m:trunc({largs(4)}/16)} {m:trunc({largs(4)} - trunc({largs(4)}/16)*16)} }
{=(rth):{replace( ,):{replace(15,f):{replace(14,e):{replace(13,d):{replace(12,c):{replace(11,b):{replace(10,a):{hexnum}}}}}}}}}
{=(desh):Your hex code : `#{rth}`}
{=(mainurlh):https://dummyimage.com/100x100/{rth}}
}
	
{break({option}=={add}):
{=(titleurladd):https://dummyimage.com/100x100/{largs(2)}}
{=(nr):{m:trunc({cn(-6)}*16 + {cn(-5)}) + {red}}}
{=(ng):{m:trunc({cn(-4)}*16 + {cn(-3)}) + {green}}}
{=(nb):{m:trunc({cn(-2)}*16 + {cn(-1)}) + {blue}}}
{=(addnum):{m:trunc({nr}/16)} {m:trunc({nr} - trunc({nr}/16)*16)} {m:trunc({ng}/16)} {m:trunc({ng} - trunc({ng}/16)*16)} {m:trunc({nb}/16)} {m:trunc({nb} - trunc({nb}/16)*16)}}
{=(addth):{replace( ,):{replace(15,f):{replace(14,e):{replace(13,d):{replace(12,c):{replace(11,b):{replace(10,a):{addnum}}}}}}}}}
{=(mainurladd):https://dummyimage.com/100x100/{addth}} 
{=(desadd):{if({nr}>255):Too much **Red** added. You can add only `{m:255 - trunc({cn(-6)}*16 + {cn(-5)})}` Red|{if({ng}>255):Too much **Green** added. You can add only `{m:255 - trunc({cn(-4)}*16 + {cn(-3)})}` Green | {if({nb}>255):Too much **Blue** added. You can add only `{m:255 - trunc({cn(-2)}*16 + {cn(-1)})}` Blue | Entered color : ➡ `{largs(2)}`
New generated color : ⬇ #`{addth}`
	
{pre}{tag} {add} {addth} {largs(3+)}}}}}
}
	
{break({option}=={sub}):
{=(titleurlsub):https://dummyimage.com/100x100/{largs(2)}}
{=(sr):{m:trunc({cn(-6)}*16 + {cn(-5)}) - {red}}}
{=(sg):{m:trunc({cn(-4)}*16 + {cn(-3)}) - {green}}}
{=(sb):{m:trunc({cn(-2)}*16 + {cn(-1)}) - {blue}}}

{=(subnum):{m:trunc({sr}/16)} {m:trunc({sr} - trunc({sr}/16)*16)} {m:trunc({sg}/16)} {m:trunc({sg} - trunc({sg}/16)*16)} {m:trunc({sb}/16)} {m:trunc({sb} - trunc({sb}/16)*16)}}
{=(subth):{replace( ,):{replace(15,f):{replace(14,e):{replace(13,d):{replace(12,c):{replace(11,b):{replace(10,a):{subnum}}}}}}}}}
{=(mainurlsub):https://dummyimage.com/100x100/{subth}} 
{=(dessub):{if({sr}<0):Too much **Red** subtracted. You can subtract only `{m:trunc({cn(-6)}*16 + {cn(-5)})}` Red|{if({sg}<0):Too much **Green** subtracted. You can subtract only `{m:trunc({cn(-4)}*16 + {cn(-3)})}` Green | {if({sb}<0):Too much **Blue** subtracted. You can subtract only `{m:trunc({cn(-2)}*16 + {cn(-1)})}` Blue | Entered color : ➡ `{largs(2)}`
New generated color : ⬇ #`{subth}`
	
{pre}{tag} {sub} {subth} {largs(3+)}}}}}
}
	
{break({option}=={ran}):
{=(icon):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}
{=(footericon):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}
{=(imghex):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}
{=(thumbhex):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}
{=(iconurl):https://dummyimage.com/100x100/{icon}}
{=(footerurl):https://dummyimage.com/100x100/{footericon}}
{=(imghexurl):https://dummyimage.com/100x100/{imghex}}
{=(thumbhexurl):https://dummyimage.com/100x100/{thumbhex}}
	
{=(desran):⬆ `#{icon}`
➡ `#{thumbhex}`
⬇ `#{imghex}`
⬅ `#{embedc}`}
}
	
{break({option}=={dec}):
{=(decnum):{m:trunc(({cn(-6)}*16^5)+({cn(-5)}*16^4)+({cn(-4)}*16^3)+({cn(-3)}*16^2)+({cn(-2)}*16^1)+({cn(-1)}*16^0))}}
{=(desdec):Your decimal color code : `{decnum}`}
}
	
{break({option}==help):
{=(titlehelp):List of commands available}
{=(deshelp):1️⃣ Convert hex color value to RGB
{pre}{tag} {htr} <COLOR>
2️⃣ Convert RGB to hex
{pre}{tag} {hex} <RED> <GREEN> <BLUE>
3️⃣ Convert hex to decimal
{pre}{tag} {dec} <COLOR>
4️⃣ Add RGB values to hex color
{pre}{tag} {add} <COLOR> <RED> <GREEN> <BLUE>
5️⃣ Subtract RGB values from hex color
{pre}{tag} {sub} <COLOR> <RED> <GREEN> <BLUE>
6️⃣ Generate 5 Random colors
{pre}{tag} {ran}
7️⃣ help
{pre}{tag} help}
}
{=(color1):{if({lower:{1}}==dec):{replace(#,):{2}}}}
{=(colorE):#{color1}}
{embed(color):{colorE}}

Embed

1 line
{"color": 5198940, "image": {"url": "{if({option}=={htr}):{mainurlr}|{if({option}=={hex}):{mainurlh}|{if({option}=={add}):{mainurladd}|{if({option}=={sub}):{mainurlsub}|{if({option}=={ran}):{imghexurl}|}}}}}"}, "author": {"name": "{if({option}=={ran}):Random Colors|}", "icon_url": "{if({option}=={ran}):{iconurl}|}"}, "footer": {"text": "{if({option}=={ran}):#{footericon}}", "icon_url": "{if({option}=={ran}):{footerurl}|}"}, "thumbnail": {"url": "{if({option}=={add}):{titleurladd}|{if({option}=={sub}):{titleurlsub}|{if({option}=={ran}):{thumbhexurl}|}}}"}, "description": "{if({option}=={htr}):{desr}|}\n{if({option}=={hex}):{desh}|}\n{if({option}=={add}):{desadd}|}\n{if({option}=={sub}):{dessub}|}\n{if({option}=={ran}):{desran}|}\n{if({option}=={dec}):{desdec}|}\n{if({option}==help):{deshelp}|}\n{if({contains({option}):{htr} {hex} {add} {sub} {ran} {dec} help}==false):Incorrect option}"}
Raw JSON
{
  "id": 1733171,
  "created_at": "2023-05-11T18:38:05.000Z",
  "tag_name": "col1",
  "nsfw": false,
  "owner_id": "935523589640310854",
  "uses": 25,
  "description": null,
  "restricted": false,
  "shared": false,
  "deleted": false,
  "safe": "",
  "hidden": false,
  "guild_id": "1000287735329853460",
  "sharer": "935523589640310854",
  "content": "{delete}\n{=():}\n{=(tag):col}\n{=(pre):!}\n{=(htr):rgb}\n{=(hex):hex}\n{=(dec):dec}\n{=(add):add}\n{=(sub):sub}\n{=(ran):ran}\n\n{=(largs):{lower:{replace(#,):{args}}}}\n{=(option):{largs(1)}}\n{=(red):{largs(3)}}\n{=(green):{largs(4)}}\n{=(blue):{largs(5)}}\n{=(cs):{replace(, ):{largs(2)}}}\n{=(cn):{replace(f,15):{replace(e,14):{replace(d,13):{replace(c,12):{replace(b,11):{replace(a,10):{cs}}}}}}}}\n{=(hl):0,1,2,3,4,5,6,7,8,9,a,b,c,d,e,f}\n{=(embedc):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}\n\n{break({option}=={htr}):\n{=(desr):Your RGB value : `{m:trunc({cn(-6)}*16 + {cn(-5)})}, {m:trunc({cn(-4)}*16 + {cn(-3)})}, {m:trunc({cn(-2)}*16 + {cn(-1)})}`}\n{=(mainurlr):https://dummyimage.com/100x100/{cs(-6)}{cs(-5)}{cs(-4)}{cs(-3)}{cs(-2)}{cs(-1)} }\n}\n\t\n{break({option}=={hex}):\n{=(hexnum):{m:trunc({largs(2)}/16)} {m:trunc({largs(2)} - trunc({largs(2)}/16)*16)} {m:trunc({largs(3)}/16)} {m:trunc({largs(3)} - trunc({largs(3)}/16)*16)} {m:trunc({largs(4)}/16)} {m:trunc({largs(4)} - trunc({largs(4)}/16)*16)} }\n{=(rth):{replace( ,):{replace(15,f):{replace(14,e):{replace(13,d):{replace(12,c):{replace(11,b):{replace(10,a):{hexnum}}}}}}}}}\n{=(desh):Your hex code : `#{rth}`}\n{=(mainurlh):https://dummyimage.com/100x100/{rth}}\n}\n\t\n{break({option}=={add}):\n{=(titleurladd):https://dummyimage.com/100x100/{largs(2)}}\n{=(nr):{m:trunc({cn(-6)}*16 + {cn(-5)}) + {red}}}\n{=(ng):{m:trunc({cn(-4)}*16 + {cn(-3)}) + {green}}}\n{=(nb):{m:trunc({cn(-2)}*16 + {cn(-1)}) + {blue}}}\n{=(addnum):{m:trunc({nr}/16)} {m:trunc({nr} - trunc({nr}/16)*16)} {m:trunc({ng}/16)} {m:trunc({ng} - trunc({ng}/16)*16)} {m:trunc({nb}/16)} {m:trunc({nb} - trunc({nb}/16)*16)}}\n{=(addth):{replace( ,):{replace(15,f):{replace(14,e):{replace(13,d):{replace(12,c):{replace(11,b):{replace(10,a):{addnum}}}}}}}}}\n{=(mainurladd):https://dummyimage.com/100x100/{addth}} \n{=(desadd):{if({nr}>255):Too much **Red** added. You can add only `{m:255 - trunc({cn(-6)}*16 + {cn(-5)})}` Red|{if({ng}>255):Too much **Green** added. You can add only `{m:255 - trunc({cn(-4)}*16 + {cn(-3)})}` Green | {if({nb}>255):Too much **Blue** added. You can add only `{m:255 - trunc({cn(-2)}*16 + {cn(-1)})}` Blue | Entered color : ➡ `{largs(2)}`\nNew generated color : ⬇ #`{addth}`\n\t\n{pre}{tag} {add} {addth} {largs(3+)}}}}}\n}\n\t\n{break({option}=={sub}):\n{=(titleurlsub):https://dummyimage.com/100x100/{largs(2)}}\n{=(sr):{m:trunc({cn(-6)}*16 + {cn(-5)}) - {red}}}\n{=(sg):{m:trunc({cn(-4)}*16 + {cn(-3)}) - {green}}}\n{=(sb):{m:trunc({cn(-2)}*16 + {cn(-1)}) - {blue}}}\n\n{=(subnum):{m:trunc({sr}/16)} {m:trunc({sr} - trunc({sr}/16)*16)} {m:trunc({sg}/16)} {m:trunc({sg} - trunc({sg}/16)*16)} {m:trunc({sb}/16)} {m:trunc({sb} - trunc({sb}/16)*16)}}\n{=(subth):{replace( ,):{replace(15,f):{replace(14,e):{replace(13,d):{replace(12,c):{replace(11,b):{replace(10,a):{subnum}}}}}}}}}\n{=(mainurlsub):https://dummyimage.com/100x100/{subth}} \n{=(dessub):{if({sr}<0):Too much **Red** subtracted. You can subtract only `{m:trunc({cn(-6)}*16 + {cn(-5)})}` Red|{if({sg}<0):Too much **Green** subtracted. You can subtract only `{m:trunc({cn(-4)}*16 + {cn(-3)})}` Green | {if({sb}<0):Too much **Blue** subtracted. You can subtract only `{m:trunc({cn(-2)}*16 + {cn(-1)})}` Blue | Entered color : ➡ `{largs(2)}`\nNew generated color : ⬇ #`{subth}`\n\t\n{pre}{tag} {sub} {subth} {largs(3+)}}}}}\n}\n\t\n{break({option}=={ran}):\n{=(icon):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}\n{=(footericon):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}\n{=(imghex):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}\n{=(thumbhex):{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}{#:{hl}}}\n{=(iconurl):https://dummyimage.com/100x100/{icon}}\n{=(footerurl):https://dummyimage.com/100x100/{footericon}}\n{=(imghexurl):https://dummyimage.com/100x100/{imghex}}\n{=(thumbhexurl):https://dummyimage.com/100x100/{thumbhex}}\n\t\n{=(desran):⬆ `#{icon}`\n➡ `#{thumbhex}`\n⬇ `#{imghex}`\n⬅ `#{embedc}`}\n}\n\t\n{break({option}=={dec}):\n{=(decnum):{m:trunc(({cn(-6)}*16^5)+({cn(-5)}*16^4)+({cn(-4)}*16^3)+({cn(-3)}*16^2)+({cn(-2)}*16^1)+({cn(-1)}*16^0))}}\n{=(desdec):Your decimal color code : `{decnum}`}\n}\n\t\n{break({option}==help):\n{=(titlehelp):List of commands available}\n{=(deshelp):1️⃣ Convert hex color value to RGB\n{pre}{tag} {htr} <COLOR>\n2️⃣ Convert RGB to hex\n{pre}{tag} {hex} <RED> <GREEN> <BLUE>\n3️⃣ Convert hex to decimal\n{pre}{tag} {dec} <COLOR>\n4️⃣ Add RGB values to hex color\n{pre}{tag} {add} <COLOR> <RED> <GREEN> <BLUE>\n5️⃣ Subtract RGB values from hex color\n{pre}{tag} {sub} <COLOR> <RED> <GREEN> <BLUE>\n6️⃣ Generate 5 Random colors\n{pre}{tag} {ran}\n7️⃣ help\n{pre}{tag} help}\n}\n{=(color1):{if({lower:{1}}==dec):{replace(#,):{2}}}}\n{=(colorE):#{color1}}\n{embed(color):{colorE}}",
  "embed": "{\"color\": 5198940, \"image\": {\"url\": \"{if({option}=={htr}):{mainurlr}|{if({option}=={hex}):{mainurlh}|{if({option}=={add}):{mainurladd}|{if({option}=={sub}):{mainurlsub}|{if({option}=={ran}):{imghexurl}|}}}}}\"}, \"author\": {\"name\": \"{if({option}=={ran}):Random Colors|}\", \"icon_url\": \"{if({option}=={ran}):{iconurl}|}\"}, \"footer\": {\"text\": \"{if({option}=={ran}):#{footericon}}\", \"icon_url\": \"{if({option}=={ran}):{footerurl}|}\"}, \"thumbnail\": {\"url\": \"{if({option}=={add}):{titleurladd}|{if({option}=={sub}):{titleurlsub}|{if({option}=={ran}):{thumbhexurl}|}}}\"}, \"description\": \"{if({option}=={htr}):{desr}|}\\n{if({option}=={hex}):{desh}|}\\n{if({option}=={add}):{desadd}|}\\n{if({option}=={sub}):{dessub}|}\\n{if({option}=={ran}):{desran}|}\\n{if({option}=={dec}):{desdec}|}\\n{if({option}==help):{deshelp}|}\\n{if({contains({option}):{htr} {hex} {add} {sub} {ran} {dec} help}==false):Incorrect option}\"}",
  "last_fetched": "2026-10-20T19:15:32.727Z"
}