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

How to change the New yeller brickcolor into a color3?

Asked by 6 years ago

So i have been looking around and doing research and i was thinking new yeller is like this Chat

ChatColor = Color3.new(1,1,0)

but i want it like this

ChatColor = Color3.new(253/255, 41/255, 67/255) --This right here is bright red and i wanna switch it to new yeller

but im not sure how to get it like that but it is yeller

2 answers

Log in to vote
1
Answered by 6 years ago

Brick Color and Color3

Before, Parts could only have 1 of 64 predefined brick colors that ROBLOX set. Now, BrickColor supports any Color3 value.


BrickColor.Color

BrickColors has a property called Color which gives you the Color3 value of the BrickColor.

print(BrickColor.new("New yeller").Color)

Output

0.639216, 0.635294, 0.647059

Since the BrickColor.Color value of New yeller is a Color3 value, you can change ChatColor to BrickColor.new("New yeller").Color


Final Product

ChatColor = BrickColor.new("New yeller").Color


Hope it helps!

0
Another big answer by zord greatneil80 2647 — 6y
0
ooh, I like this one greatneil80 2647 — 6y
0
congrats 3k rep User#19524 175 — 6y
0
Yea i know but idk how to switch it into this form? XxGamerSporkXx_YT 1 — 6y
Ad
Log in to vote
0
Answered by 6 years ago

look at the properties of a brick that has the new yeller color that should give it to you i think

0
^ incorrect, false.... He is scripting it... properties either includes color3 or brickcolor, he doesn't want to manually change properties of a brick. greatneil80 2647 — 6y

Answer this question