I'm trying to change alot of parts to a certain color but it changes it to white. I know it has to do with brickcolor and rgb conversion but
for _, v in pairs (game.workspace:GetDescendants())do
if v.Name == 'A' and v:IsA'BasePart' then
v.BrickColor = BrickColor.new(106, 57, 9)
end
end
Turns it white and yet (0.9,0.6,0.2) is a orangeish color. How do I convert my RGB value to work with brickcolor?

1 comment
You could do BrickColor.new(Color3.fromRGB(106, 57, 9))