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

Color3 and BrickColor Variables?

I have forgotten how to print the Color3 numbers and BrickColor's color names, can anyone help?

(By this I mean I forgot how to print color values.)

P.S I am using this to distribute colors on a gui.

3 answers

print(BrickColor.new("Bright blue").Color) prints its Color3 value print(BrickColor.new("Bright blue")) prints the color name

Color3 has three properties r,g,b for each individual color amount.

Just place the values inside print:

print(game.Workspace.Part.BrickColor) --BrickColor
print(game.StarterGui.ScreenGui.Frame.BackgroundColor3) --Color3

Can I print it like this?

print(script.Parent.Parent.Spin.ColorLabel1.BackgroundColor3)

1 comment

0

Yes

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