Color3Value help

How do I use a Color3Value? I tried testing to see if it worked by using a text button and I tried changing the colour of the text on the button. I don’t know what I’m doing wrong.


I have found a topic, which hopefully answers your question.

Could you show some code? And the value of the Color3Value?

Heres a code if your trying to get a Colour3Value:

myColor3Value.Value =, 0, 0) -- Red
-- You can also store the color of a BrickColor value by accessing BrickColor's Color property, which is a Color3:
local someBrickColor ="Really red")
myColor3Value.Value = someBrickColor.Color```

To change the color of your texbox you will want to use a script something like this:

script.Parent.BackgroundColor3 =,1,1)

I would also suggest checking out the API @callofdutypro9876 linked

You can hold color values in a Color3Value. This is what I tried writing:

local color = script.Parent:WaitForChild(“Color”)

script.Parent.TextColor3 = Color3.fromRGB(color.Value)

That’s just… wrong
or badly explained
textLabel.TextColor3 = Color3.fromRGB(255, 0, 0) -- Set color to red

Yeah, sorry. I worded that very poorly. I think I read the original question wrong.