Color3.fromrbg().r roblox code example
Example: color3 not working lua
--If you are using Color3.new it will NOT work for RGB Instead use Color3.fromRGB
local green = Color3.fromRGB(0,0,255)
--The bug is because Color3.new only supports numbers from 0 to 1