How do I set the color of a chat tag without hexadecimals?

  1. What do you want to achieve? I want to make a chat tag for me in my game that will be a certain color.

  2. What is the issue? All the tutorials on how to do it are made by people on windows 1920x1080 monitors that use hexadecimals and don’t realize that on a macbook the color picker looks like this:


    Clearly no thing that shows what the hexadecimal value is

  3. What solutions have you tried so far? I tried storing a color3 value inside a variable and using that instead but it didnt work. This is how it looks.

	local ownerTagColor = Color3.new(0.0366522, 0, 0.792645)
	local leadScripterColor = Color3.new(0.776089, 0.0435492, 0)
	if player:IsInGroup(groupID) then
		if player:GetRankInGroup(groupID) == 255 then
			properties.PrefixText = `<font color="ownerTagColor">[Owner]</font> {message.PrefixText}`
		elseif player:GetRankInGroup(groupID) == 254 then
			properties.PrefixText = `<font color="leadScripterColor">[Lead Scripter]</font> {message.PrefixText}`
		elseif player:GetRankInGroup(groupID) == 1 then
			properties.PrefixText = `[Fan] {message.PrefixText}`
		end

If you know how to do this plz reply!!!

You dont have to need use hex for rich text. Check out Rich Text Markup to see how to format color.
You cant use Color3 for rich text, if you need to get color value, you can use any websites.

I found a line that solved the problem!
I want the orange candy.
Wahoo!
*There was supposed to be stuff when I pasted it but I guess not

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.