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

How to change the New yeller brickcolor into a color3?

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

#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!

4 comments

0

Another big answer by zord

0

ooh, I like this one

0

congrats 3k rep

0

Yea i know but idk how to switch it into this form?

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

1 comment

0

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

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