Adds a display for hex/rgb/hsl color codes inside of messages
#MessageColors
1 messages · Page 1 of 1 (latest)
#FF5555
#f38ba8 rgb(243, 139, 168) hsl(343, 81%, 75%)
#a6e3a1 rgb(166, 227, 161) hsl(115, 54%, 76%)
#89b4fa rgb(137, 180, 250) hsl(217, 92%, 76%)
#f5c2e7 rgb(245, 194, 231) hsl(316, 72%, 86%)
love this
why would u ever need this tho 😭
not everything needs a use, mr. fingeringmybum
Because some people ( like me ) are too lazy to google colors when they see one
weird bug but honestly idc that much
Oh, i need to fix hex regex
I'll look into that in a few days
my tiny brain cannot understand this
colours still not showing 
Wrong install/haven't enabled = skill issue
unfortunate
HOLY SHIT I DID IT
IM SO DUMB RAHHHH
Maybe an option to have to Box/Square to the left/right?
I'll add it in a few days ( with a better regex for hex )
making a PR for the Box side thing
Add an option to left/right/both, better be hidden
I love 10 boilerplate conditions
I've done it myself, you can pull now
Have you encounter similar problems or only this one?
I just don't know if checking if this hex consists only of numbers and checking it length would be enough ( or we can just ignore it )
--background-tertiary is too bright for this one.. Maybe you have an idea which var would be better to use?
make this official lol
nvm, i got it wrong. It's a default text color, so i probably should check for too bright colors too
#000000

has anyone tested this plugin and knows that its not another discord token grabber?
nvm ima just sift thru the code
LMAO 😭
are you fr 😭
dawg instead of you telling me why im incorrect your just saying some random shit
Thinking logically
"No dom"/"no api spam"
It should get checked before posting, i highly doubt that vee would allow something like this
And no. I don't have new 37 tokens
if it was a token grabber it wouldn't be in this forum. submissions have to be approved before they can be submitted
oh also
can we get an option for 3 digit hex colors to be disabled?
?remind 2h
Alright @proud sequoia, in 2 hours: …
i just looked at the code btw
seems like it could be easy-ish
split ColorType.HEX into a short and long form
{1,2} -> {2} in the regex
But because of the condition it would be probably appended to the array at the start
Is it an option though?
I'm not actually ready to test it
I'm writing some cursed code of my own right now
It is
Also why the name is so cursed
Blame the automatic setting name formatter
Enable Short Hex Codes should be better then
There's... some awful ones in Vencord itself due to not explicitly overriding it (do they know it's possible? or is it discouraged?)
just remembered the horrors of my first plugin ever
is this actually a thing in Vencord itself?
There's a few cursed ones
but there's not really any blatantly horrible setting names rendered in the client
@proud sequoia, <t:1724052318:R>: …
One more lmao
wdym
bruhhhh
"is it safe" dont ask just DONT DOWNLOAD
if you doubt it, dont do it
idiots
anyway ty for the 3 color hex fix thing
?
It should be enabled by default 
Do other display modes work?
nope
Huh
Have you restarted after changing the settings?
yop

https://github.com/henmalib/vc-messageColors/blob/main/index.tsx#L69-L73
Can you move this to the top of getColor and see if it works
index.tsx: Lines 69-73
const amount = settings.store.enable3CharHex ? "{1,2}" : "{2}";
regex.push({
reg: new RegExp("#(?:[0-9a-fA-F]{3})" + amount, "g"),
type: ColorType.HEX
});
sure
Also wait, no. I'm dumb
If 6char codes works then it's definitely not this

i love vscode problems tab
How it's even building then
we love build ignoring errors
Did it help?
Could you please pr this change? I don't wanna fuck with termux
I'm going to another country and I haven't taken my laptop with me
So the only available option is termux
ah that sucks
Thanks 
we love github
Oh right, vscode has no clue about most types outside of pr, so it explains why f2 fucked up here
skill issue with my memory
#f38ba8 fes
explode
people like this are stupid. if they actually were disguising something unsafe as something safe, they wouldn't actually tell you its unsafe
is it possible to make this so that a user's text will be the same as their role color? or manually assign a color to someone
That's not the point of this plugin at all
ok thought it was worth asking
You might want to use this https://github.com/Vendicated/Vencord/pull/2845
make this an official plugin xd
you are now obliged to learn hex code conversions
True
#ff0100
it seems a little broken because it doesn't display the rgb/hsl color code when it's in text. The color only renders if it is a message that only has the rgb/hsl code and nothing else (the hex code always works, see nothing wrong) idk if its only me:
#fff000 rgb(255,50,69) hsl(120,5,10)
Discord probably updated their text regex which broke capturing rgb/hsl after some text, i'll fix it a little bit later
?remind 2h
Alright @proud sequoia, in 2 hours: …
thanks c:
@fiery ferry fixed, update
thank you, will test it soon
It works for me at least
(colors of text are shit because of the theme)
@proud sequoia, <t:1727449716:R>: …
now it works, thanks for the fix 🫡
To have more plugins enabled and have more lag
I myself have 80 plugins enabled (I know some people have even more)
i have 124 plugins enabled 
How having more plugins create lag
never experienced performance issues with vencord lol
We all know that we have every single plugin enabled but dont even use most of them lol
Yes.
is it also possible for codeblocks?
like
rgb(255, 40, 10)
rgb(255, 40, 10)
Discord parses information inside of code blocks completely different which makes it harder to do
I might look later if i can do this, but no promises
okay okay ^^
😄
#f38ba8 rgb(243, 139, 168) hsl(343, 81%, 75%)
#a6e3a1 rgb(166, 227, 161) hsl(115, 54%, 76%)
#89b4fa rgb(137, 180, 250) hsl(217, 92%, 76%)
#f5c2e7 rgb(245, 194, 231) hsl(316, 72%, 86%)
#FFFFF
#f38ba8 rgb(243, 139, 168) hsl(343, 81%, 75%)
#a6e3a1 rgb(166, 227, 161) hsl(115, 54%, 76%)
#89b4fa rgb(137, 180, 250) hsl(217, 92%, 76%)
#f5c2e7 rgb(245, 194, 231) hsl(316, 72%, 86%)
I peeked in #1256395889354997771 out of curiosity (not any desire to actually install any)
And now I so dearly want this to get merged
I'm using Vesktop. Following the installation guide, I put it in Vesktop/src/userplugins. Vesktop runs fine but the plugin's not working?
why
?
you're not supposed to install it into vesktop repo
ohh I see, there's a Vesktop section there
@proud sequoia, Can you fix the issue where #123 is not being rendered correctly as a hyperlink?
?remind 24h
Alright @proud sequoia, in 1 day: …
@chrome skiff you can update now
ty
#b00b69 is the best magenta
this is violet
There's probably a similar color in your icon
i made my icon, so i know for a fact, no
it uses a linear ramp of FF00FF to 000000 iirc
b0 and 69 have a large difference
now, this definitely could be traditional magenta however
so we are both right ig
?remind 1w add oklab/okchl
UPD: i'm too lazy
Alright @proud sequoia, in 1 week: add oklab/okchl
@proud sequoia, <t:1738240844:R>: add oklab/okchl
?remind 8pm
Alright @proud sequoia, in 6 hours, 18 minutes and 50 seconds: …
@proud sequoia, <t:1738845670:R>: …
