brickcolor.new seems to be giving the wrong colour, i am trying to get the NAME of the colour value: 5,18,204 - but its returning me WHITE!:
Actual colour would be dark blue?
brickcolor.new seems to be giving the wrong colour, i am trying to get the NAME of the colour value: 5,18,204 - but its returning me WHITE!:
Actual colour would be dark blue?
BrickColor.new
is supposed to be a string (If i remember), Have you tried just Color?
Part.Color = Color3.fromRGB(5,18,204)
print(Color3.fromRGB(5,18,204))
Edit: doesnt seem to work:
script.Parent.Color = Color3.fromRGB(5,18,204)
print(script.Parent.BrickColor)
im needing to get colour from rgb not part, the statement you have given me just returns the colour 3 value in division of 255.
the thing is, it seems to work most of time, like here:
Can you try this?
The rgb colors are a value from 0 to 1, not 0 to 255.
The reason your getting white is because all the values are maxed out, which would mean a white color.
Thats Color3.new
, not Color3.fromRGB
Im talking about brickcolor.new
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.