Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Why does my text turn white when using TextBox.TextColor3.new()?

Does anyone know why this turns to white instead of dark-yellow?

TextBox.TextColor3 = Color3.new(195, 165, 95) -- Turns to white but should be dark-yellow

TextBox.TextColor3 = Color3.new(67, 66, 66) -- Turns to white but should be dark-gray

For some reason this works and turns to red...

Price.TextColor3 = Color3.new(1, 0, 0) -- Turns to red

Does anyone know why this is?

1 answer

✓ Accepted answer

Color3 takes a value 0-1 you can do Color3.fromRBG() instead.

TextBox.TextColor3 = Color3.fromRGB(195, 165, 95) 
TextBox.TextColor3 = Color3.fromRGB(67, 66, 66) 

This discussion is preserved as it was. New answers, comments, and votes are closed.