color
Privateunrated
Content
153 lines{=(randcol):1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}
{=(randhexcol):#{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}}
{=(upargs):{upper:{replace( ,):{args}}}}
{=(upp3r):{if({args}==rand):{randhexcol}|{upargs}}}
{embed(color):{upp3r}}
{=(spaces):{replace(, ):{upp3r}}}
{=(upspaces):{upper:{spaces}}}
{=(listargs):{join(,):{upspaces}}}
{=(iscolor):{replace(, ):{args(2):#}}}
{=(error?1):{all({iscolor(8)}=={iscolor}|{args}!=rand):yes|no}}
{=(error?2):{all({iscolor(10)}!={iscolor}|{args}!=rand):yes|no}}
{=(error?3):{all({in(#):{spaces}}==false|{args}!=rand):yes|no}}
{=(error?):{any({error?1}==yes|{error?2}==yes|{error?3}==yes):yes|no}}
{break({error?}==yes):}
{=(error):Your color hex must be a `#` followed by six digits in hexadecimal.}
{all({list(0):{listargs}}!=#|{args}!=rand):}
{=(nopound):{replace(#,):{upp3r}}}
{=(url):https://serux.pro/rendercolour?hex={nopound}}
{=(c1):{list(1):{listargs}}}
{=(c2):{list(2):{listargs}}}
{=(c3):{list(3):{listargs}}}
{=(c4):{list(4):{listargs}}}
{=(c5):{list(5):{listargs}}}
{=(c6):{list(6):{listargs}}}
{=(red):{c1} {c2}}
{=(green):{c3} {c4}}
{=(blue):{c5} {c6}}
{=(rA):{replace(A,10):{red}}}
{=(rB):{replace(B,11):{rA}}}
{=(rC):{replace(C,12):{rB}}}
{=(rD):{replace(D,13):{rC}}}
{=(rE):{replace(E,14):{rD}}}
{=(cR):{replace(F,15):{rE}}}
{=(gA):{replace(A,10):{green}}}
{=(gB):{replace(B,11):{gA}}}
{=(gC):{replace(C,12):{gB}}}
{=(gD):{replace(D,13):{gC}}}
{=(gE):{replace(E,14):{gD}}}
{=(cG):{replace(F,15):{gE}}}
{=(c1):{list(1):{listargs}}}
{=(c2):{list(2):{listargs}}}
{=(c3):{list(3):{listargs}}}
{=(c4):{list(4):{listargs}}}
{=(c5):{list(5):{listargs}}}
{=(c6):{list(6):{listargs}}}
{=(red):{c1} {c2}}
{=(green):{c3} {c4}}
{=(blue):{c5} {c6}}
{=(rA):{replace(A,10):{red}}}
{=(rB):{replace(B,11):{rA}}}
{=(rC):{replace(C,12):{rB}}}
{=(rD):{replace(D,13):{rC}}}
{=(rE):{replace(E,14):{rD}}}
{=(cR):{replace(F,15):{rE}}}
{=(gA):{replace(A,10):{green}}}
{=(gB):{replace(B,11):{gA}}}
{=(gC):{replace(C,12):{gB}}}
{=(gD):{replace(D,13):{gC}}}
{=(gE):{replace(E,14):{gD}}}
{=(cG):{replace(F,15):{gE}}}
{=(bA):{replace(A,10):{blue}}}
{=(bB):{replace(B,11):{bA}}}
{=(bC):{replace(C,12):{bB}}}
{=(bD):{replace(D,13):{bC}}}
{=(bE):{replace(E,14):{bD}}}
{=(cB):{replace(F,15):{bE}}}
{=(mRp1):{join(*):{cR}}}
{=(mR):{m:round({mRp1})}}
{=(mGp1):{join(*):{cG}}}
{=(mG):{m:round({mGp1})}}
{=(mBp1):{join(*):{cB}}}
{=(mB):{m:round({mBp1})}}
{=(redp1):{join(,):{cR}}}
{=(red1):{list(0):{redp1}}}
{=(red2):{list(1):{redp1}}}
{=(greenp1):{join(,):{cG}}}
{=(green1):{list(0):{greenp1}}}
{=(green2):{list(1):{greenp1}}}
{=(bluep1):{join(,):{cB}}}
{=(blue1):{list(0):{bluep1}}}
{=(blue2):{list(1):{bluep1}}}
{=(RGB-R):{m:trunc({red1}*16+{red2})}}
{=(RGB-G):{m:trunc({green1}*16+{green2})}}
{=(RGB-B):{m:trunc({blue1}*16+{blue2})}}
{=(hextoRGB):`{RGB-R}, {RGB-G}, {RGB-B}`}
{=(RGB-R-HSL-1):{m:{RGB-R}/255}}
{=(RGB-G-HSL-1):{m:{RGB-G}/255}}
{=(RGB-B-HSL-1):{m:{RGB-B}/255}}
{=(firstcomp):{if({RGB-R-HSL-1}>{RGB-G-HSL-1}):R G|G R}}
{=(smallest):{if({RGB-B-HSL-1}>{RGB-{firstcomp(2)}-HSL-1}):{RGB-{firstcomp(2)}-HSL-1}|{RGB-B-HSL-1}}}
{=(largest):{if({RGB-B-HSL-1}>{RGB-{firstcomp(1)}-HSL-1}):{RGB-B-HSL-1}|{RGB-{firstcomp(1)}-HSL-1}}}
{=(HSL-Lp1):{m:{largest}+{smallest}}}
{=(HSL-Lp2):{m:{HSL-Lp1}/2}}
{=(HSL-L):{m:round(100*{HSL-Lp2})}%}
{=(hassaturation):{if({largest}=={smallest}):no|yes}}
{=(saturation>0.5):{if({HSL-Lp2}>0.5):yes|no}}
{=(HSL-Sp1):{if({saturation>0.5}==yes):{m:{m:{largest}-{smallest}}/{m:2-{largest}-{smallest}}}|{m:{m:{largest}-{smallest}}/{m:{largest}+{smallest}}}}}
{=(HSL-S):{if({hassaturation}==no):0%|{m:round(100*{HSL-Sp1})}%}}
{=(HSL-H-formula1):{if({largest}=={RGB-G-HSL-1}):{m:2+{m:{RGB-B-HSL-1}-{RGB-R-HSL-1}}/{m:{largest}-{smallest}}}|{m:4+{m:{RGB-R-HSL-1}-{RGB-G-HSL-1}}/{m:{largest}-{smallest}}}}}
{=(HSL-H-formula):{if({largest}=={RGB-R-HSL-1}):{m:{m:{RGB-G-HSL-1}-{RGB-B-HSL-1}}/{m:{largest}-{smallest}}}|{HSL-H-formula1}}}
{=(HSL-Hp1):{m:round(60*{HSL-H-formula})}}
{=(HSL-H):{if({HSL-Hp1}!={m:round({m:abs({HSL-Hp1})})}):{m:round({m:360-abs({HSL-Hp1})})}°|{HSL-Hp1}°}}
{=(CMYK-K):{m:1-{largest}}}
{=(CMYK-K2):{m:1-{CMYK-K}}}
{=(CMYK-C):{m:{m:{m:1-{RGB-R-HSL-1}-{CMYK-K}}}/{CMYK-K2}}}
{=(CMYK-M):{m:{m:{m:1-{RGB-G-HSL-1}-{CMYK-K}}}/{CMYK-K2}}}
{=(CMYK-Y):{m:{m:{m:1-{RGB-B-HSL-1}-{CMYK-K}}}/{CMYK-K2}}}
{=(CMYK):{m:round(100*{CMYK-C})}%, {m:round(100*{CMYK-M})}%, {m:round(100*{CMYK-Y})}%, {m:round(100*{CMYK-K})}%}
{=(uargs):{upper:{upp3r}}}
{=(spaced):{replace(A,10):{replace(B,11):{replace(C,12):{replace(D,13):{replace(E,14):{replace(F,15):{replace(, ):{replace(#,):{uargs}}}}}}}}}}
{=(dec):{m:trunc(({spaced(2)}*(16^5))+({spaced(3)}*(16^4))+({spaced(4)}*(16^3))+({spaced(5)}*(16^2))+({spaced(6)}*(16^1))+({spaced(7)}*(16^0)))}}
{=(colorblack):{all({RGB-R}<55|{RGB-G}<55|{RGB-B}<55):**Black!**|}}
{=(colorgrey):{all({RGB-R}>55|{RGB-G}>55|{RGB-B}>55|{RGB-R}<180|{RGB-G}<180|{RGB-B}<180):**Grey!**|}}
{=(colorlightgrey):{all({RGB-R}>180|{RGB-G}>180|{RGB-B}>180|{RGB-R}<225|{RGB-G}<225|{RGB-B}<225):**Light Grey!**|}}
{=(colorwhite):{all({RGB-R}>225|{RGB-G}>225|{RGB-B}>225):**White!**|}}
{=(colorred):{all({RGB-R}>160|{RGB-G}<100|{RGB-B}<100):**Red!**|}}
{=(colorgreen):{all({RGB-R}<130|{RGB-G}>160|{RGB-G}<210|{RGB-B}<130):**Green!**|}}
{=(colorlime):{all({RGB-R}<130|{RGB-G}>210|{RGB-B}<130):**Lime!**|}}
{=(colorblue):{all({RGB-R}<100|{RGB-G}<100|{RGB-B}>160):**Blue!**|}}
{=(colorcyan):{all({RGB-R}<100|{RGB-G}>220|{RGB-B}>220):**Cyan!**|}}
{=(colormagenta):{all({RGB-R}>160|{RGB-G}<100|{RGB-B}>160):**Purple!**|}}
{=(coloryellow):{all({RGB-R}>190|{RGB-G}>190|{RGB-B}<100):**Yellow!**|}}
{=(colorall):{colorblack}{colorgrey}{colorlightgrey}{colorwhite}{colorred}{colorgreen}{colorlime}{colorblue}{colorcyan}{colormagenta}{coloryellow}}Embed
1 line{"color": 5198940, "title": "{break({error?}==yes):}{upp3r}", "thumbnail": {"url": "{break({error?}==yes):}{all({list(0):{listargs}}!=#|{args}!=rand):|{url}}"}, "description": "{break({error?}==yes):Either put a color hex code in the `#FFFFFF` format or put `rand` for a random color.}\n{break({args}==#000000):**RGB:** `0, 0, 0`\n**CMYK:** `0%, 0%, 0%, 100%`\n**DEC:** `0`\n**HSL:** `0°, 0%, 0%`}\n{break({upper:{args}}==#FFFFFF):**RGB:** `255, 255, 255`\n**CMYK:** `0%, 0%, 0%, 0%`\n**DEC:** `16777215`\n**HSL:** `0°, 0%, 100%`}\n{short({list(6):{listargs}}=={nulll}):{error}}\n**RBG:** {hextoRGB}\n**CMYK:** `{CMYK}`\n**DEC:** `{dec}`\n**HSL:** `{HSL-H}, {HSL-S}, {HSL-L}`"}Raw JSON
{
"id": 180098,
"created_at": "2022-04-26T10:36:05.535Z",
"tag_name": "color",
"nsfw": false,
"owner_id": "680178137090359319",
"uses": 48,
"description": null,
"restricted": false,
"shared": false,
"deleted": false,
"safe": "unrated",
"hidden": false,
"guild_id": "704896281348407356",
"sharer": "680178137090359319",
"content": "{=(randcol):1,2,3,4,5,6,7,8,9,A,B,C,D,E,F}\n{=(randhexcol):#{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}{rand:{randcol}}}\n\n{=(upargs):{upper:{replace( ,):{args}}}}\n{=(upp3r):{if({args}==rand):{randhexcol}|{upargs}}}\n{embed(color):{upp3r}}\n\n{=(spaces):{replace(, ):{upp3r}}}\n{=(upspaces):{upper:{spaces}}}\n{=(listargs):{join(,):{upspaces}}}\n\n{=(iscolor):{replace(, ):{args(2):#}}}\n{=(error?1):{all({iscolor(8)}=={iscolor}|{args}!=rand):yes|no}}\n{=(error?2):{all({iscolor(10)}!={iscolor}|{args}!=rand):yes|no}}\n{=(error?3):{all({in(#):{spaces}}==false|{args}!=rand):yes|no}}\n{=(error?):{any({error?1}==yes|{error?2}==yes|{error?3}==yes):yes|no}}\n{break({error?}==yes):}\n\n{=(error):Your color hex must be a `#` followed by six digits in hexadecimal.}\n{all({list(0):{listargs}}!=#|{args}!=rand):}\n\n{=(nopound):{replace(#,):{upp3r}}}\n{=(url):https://serux.pro/rendercolour?hex={nopound}}\n\n{=(c1):{list(1):{listargs}}}\n{=(c2):{list(2):{listargs}}}\n{=(c3):{list(3):{listargs}}}\n{=(c4):{list(4):{listargs}}}\n{=(c5):{list(5):{listargs}}}\n{=(c6):{list(6):{listargs}}}\n{=(red):{c1} {c2}}\n{=(green):{c3} {c4}}\n{=(blue):{c5} {c6}}\n\n{=(rA):{replace(A,10):{red}}}\n{=(rB):{replace(B,11):{rA}}}\n{=(rC):{replace(C,12):{rB}}}\n{=(rD):{replace(D,13):{rC}}}\n{=(rE):{replace(E,14):{rD}}}\n{=(cR):{replace(F,15):{rE}}}\n\n{=(gA):{replace(A,10):{green}}}\n{=(gB):{replace(B,11):{gA}}}\n{=(gC):{replace(C,12):{gB}}}\n{=(gD):{replace(D,13):{gC}}}\n{=(gE):{replace(E,14):{gD}}}\n{=(cG):{replace(F,15):{gE}}}\n\n{=(c1):{list(1):{listargs}}}\n{=(c2):{list(2):{listargs}}}\n{=(c3):{list(3):{listargs}}}\n{=(c4):{list(4):{listargs}}}\n{=(c5):{list(5):{listargs}}}\n{=(c6):{list(6):{listargs}}}\n{=(red):{c1} {c2}}\n{=(green):{c3} {c4}}\n{=(blue):{c5} {c6}}\n\n{=(rA):{replace(A,10):{red}}}\n{=(rB):{replace(B,11):{rA}}}\n{=(rC):{replace(C,12):{rB}}}\n{=(rD):{replace(D,13):{rC}}}\n{=(rE):{replace(E,14):{rD}}}\n{=(cR):{replace(F,15):{rE}}}\n\n{=(gA):{replace(A,10):{green}}}\n{=(gB):{replace(B,11):{gA}}}\n{=(gC):{replace(C,12):{gB}}}\n{=(gD):{replace(D,13):{gC}}}\n{=(gE):{replace(E,14):{gD}}}\n{=(cG):{replace(F,15):{gE}}}\n\n{=(bA):{replace(A,10):{blue}}}\n{=(bB):{replace(B,11):{bA}}}\n{=(bC):{replace(C,12):{bB}}}\n{=(bD):{replace(D,13):{bC}}}\n{=(bE):{replace(E,14):{bD}}}\n{=(cB):{replace(F,15):{bE}}}\n\n{=(mRp1):{join(*):{cR}}}\n{=(mR):{m:round({mRp1})}}\n\n{=(mGp1):{join(*):{cG}}}\n{=(mG):{m:round({mGp1})}}\n{=(mBp1):{join(*):{cB}}}\n{=(mB):{m:round({mBp1})}}\n\n{=(redp1):{join(,):{cR}}}\n{=(red1):{list(0):{redp1}}}\n{=(red2):{list(1):{redp1}}}\n\n{=(greenp1):{join(,):{cG}}}\n{=(green1):{list(0):{greenp1}}}\n{=(green2):{list(1):{greenp1}}}\n\n{=(bluep1):{join(,):{cB}}}\n{=(blue1):{list(0):{bluep1}}}\n{=(blue2):{list(1):{bluep1}}}\n\n{=(RGB-R):{m:trunc({red1}*16+{red2})}}\n{=(RGB-G):{m:trunc({green1}*16+{green2})}}\n{=(RGB-B):{m:trunc({blue1}*16+{blue2})}}\n{=(hextoRGB):`{RGB-R}, {RGB-G}, {RGB-B}`}\n\n{=(RGB-R-HSL-1):{m:{RGB-R}/255}}\n{=(RGB-G-HSL-1):{m:{RGB-G}/255}}\n{=(RGB-B-HSL-1):{m:{RGB-B}/255}}\n\n{=(firstcomp):{if({RGB-R-HSL-1}>{RGB-G-HSL-1}):R G|G R}}\n{=(smallest):{if({RGB-B-HSL-1}>{RGB-{firstcomp(2)}-HSL-1}):{RGB-{firstcomp(2)}-HSL-1}|{RGB-B-HSL-1}}}\n{=(largest):{if({RGB-B-HSL-1}>{RGB-{firstcomp(1)}-HSL-1}):{RGB-B-HSL-1}|{RGB-{firstcomp(1)}-HSL-1}}}\n\n{=(HSL-Lp1):{m:{largest}+{smallest}}}\n{=(HSL-Lp2):{m:{HSL-Lp1}/2}}\n{=(HSL-L):{m:round(100*{HSL-Lp2})}%}\n\n{=(hassaturation):{if({largest}=={smallest}):no|yes}}\n{=(saturation>0.5):{if({HSL-Lp2}>0.5):yes|no}}\n{=(HSL-Sp1):{if({saturation>0.5}==yes):{m:{m:{largest}-{smallest}}/{m:2-{largest}-{smallest}}}|{m:{m:{largest}-{smallest}}/{m:{largest}+{smallest}}}}}\n\n{=(HSL-S):{if({hassaturation}==no):0%|{m:round(100*{HSL-Sp1})}%}}\n\n{=(HSL-H-formula1):{if({largest}=={RGB-G-HSL-1}):{m:2+{m:{RGB-B-HSL-1}-{RGB-R-HSL-1}}/{m:{largest}-{smallest}}}|{m:4+{m:{RGB-R-HSL-1}-{RGB-G-HSL-1}}/{m:{largest}-{smallest}}}}}\n{=(HSL-H-formula):{if({largest}=={RGB-R-HSL-1}):{m:{m:{RGB-G-HSL-1}-{RGB-B-HSL-1}}/{m:{largest}-{smallest}}}|{HSL-H-formula1}}}\n{=(HSL-Hp1):{m:round(60*{HSL-H-formula})}}\n{=(HSL-H):{if({HSL-Hp1}!={m:round({m:abs({HSL-Hp1})})}):{m:round({m:360-abs({HSL-Hp1})})}°|{HSL-Hp1}°}}\n\n{=(CMYK-K):{m:1-{largest}}}\n{=(CMYK-K2):{m:1-{CMYK-K}}}\n{=(CMYK-C):{m:{m:{m:1-{RGB-R-HSL-1}-{CMYK-K}}}/{CMYK-K2}}}\n{=(CMYK-M):{m:{m:{m:1-{RGB-G-HSL-1}-{CMYK-K}}}/{CMYK-K2}}}\n{=(CMYK-Y):{m:{m:{m:1-{RGB-B-HSL-1}-{CMYK-K}}}/{CMYK-K2}}}\n{=(CMYK):{m:round(100*{CMYK-C})}%, {m:round(100*{CMYK-M})}%, {m:round(100*{CMYK-Y})}%, {m:round(100*{CMYK-K})}%}\n\n{=(uargs):{upper:{upp3r}}}\n{=(spaced):{replace(A,10):{replace(B,11):{replace(C,12):{replace(D,13):{replace(E,14):{replace(F,15):{replace(, ):{replace(#,):{uargs}}}}}}}}}}\n\n{=(dec):{m:trunc(({spaced(2)}*(16^5))+({spaced(3)}*(16^4))+({spaced(4)}*(16^3))+({spaced(5)}*(16^2))+({spaced(6)}*(16^1))+({spaced(7)}*(16^0)))}}\n\n{=(colorblack):{all({RGB-R}<55|{RGB-G}<55|{RGB-B}<55):**Black!**|}}\n{=(colorgrey):{all({RGB-R}>55|{RGB-G}>55|{RGB-B}>55|{RGB-R}<180|{RGB-G}<180|{RGB-B}<180):**Grey!**|}}\n{=(colorlightgrey):{all({RGB-R}>180|{RGB-G}>180|{RGB-B}>180|{RGB-R}<225|{RGB-G}<225|{RGB-B}<225):**Light Grey!**|}}\n{=(colorwhite):{all({RGB-R}>225|{RGB-G}>225|{RGB-B}>225):**White!**|}}\n\n{=(colorred):{all({RGB-R}>160|{RGB-G}<100|{RGB-B}<100):**Red!**|}}\n{=(colorgreen):{all({RGB-R}<130|{RGB-G}>160|{RGB-G}<210|{RGB-B}<130):**Green!**|}}\n{=(colorlime):{all({RGB-R}<130|{RGB-G}>210|{RGB-B}<130):**Lime!**|}}\n{=(colorblue):{all({RGB-R}<100|{RGB-G}<100|{RGB-B}>160):**Blue!**|}}\n{=(colorcyan):{all({RGB-R}<100|{RGB-G}>220|{RGB-B}>220):**Cyan!**|}}\n{=(colormagenta):{all({RGB-R}>160|{RGB-G}<100|{RGB-B}>160):**Purple!**|}}\n{=(coloryellow):{all({RGB-R}>190|{RGB-G}>190|{RGB-B}<100):**Yellow!**|}}\n\n{=(colorall):{colorblack}{colorgrey}{colorlightgrey}{colorwhite}{colorred}{colorgreen}{colorlime}{colorblue}{colorcyan}{colormagenta}{coloryellow}}",
"embed": "{\"color\": 5198940, \"title\": \"{break({error?}==yes):}{upp3r}\", \"thumbnail\": {\"url\": \"{break({error?}==yes):}{all({list(0):{listargs}}!=#|{args}!=rand):|{url}}\"}, \"description\": \"{break({error?}==yes):Either put a color hex code in the `#FFFFFF` format or put `rand` for a random color.}\\n{break({args}==#000000):**RGB:** `0, 0, 0`\\n**CMYK:** `0%, 0%, 0%, 100%`\\n**DEC:** `0`\\n**HSL:** `0°, 0%, 0%`}\\n{break({upper:{args}}==#FFFFFF):**RGB:** `255, 255, 255`\\n**CMYK:** `0%, 0%, 0%, 0%`\\n**DEC:** `16777215`\\n**HSL:** `0°, 0%, 100%`}\\n{short({list(6):{listargs}}=={nulll}):{error}}\\n**RBG:** {hextoRGB}\\n**CMYK:** `{CMYK}`\\n**DEC:** `{dec}`\\n**HSL:** `{HSL-H}, {HSL-S}, {HSL-L}`\"}",
"last_fetched": "2026-10-20T21:25:37.384Z"
}