Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Color3 and BrickColor Variables?

Asked by 10 years ago

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

Log in to vote
0
Answered by
1waffle1 2908 Trusted Badge of Merit Moderation Voter Community Moderator
10 years ago

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.

Ad
Log in to vote
0
Answered by
Sublimus 992 Moderation Voter
10 years ago

Just place the values inside print:

print(game.Workspace.Part.BrickColor) --BrickColor
print(game.StarterGui.ScreenGui.Frame.BackgroundColor3) --Color3
Log in to vote
0
Answered by 10 years ago

Can I print it like this?

print(script.Parent.Parent.Spin.ColorLabel1.BackgroundColor3)
0
Yes Sublimus 992 — 10y

Answer this question