I’m trying to get a color3 value, And remove 40 from colors
Example:
245, 205, 48 Would become 205, 165, 8
255, 89, 89 Would become 215, 49, 49
I have no idea how to do this since i never done it
I’m trying to get a color3 value, And remove 40 from colors
Example:
245, 205, 48 Would become 205, 165, 8
255, 89, 89 Would become 215, 49, 49
I have no idea how to do this since i never done it
local oldColor = Color3.fromRGB(245, 205, 48)
local color = Color3.fromRGB(oldColor.R - 40, oldColor.G - 40, oldColor.B - 40)
print(color)
-- would print 205, 165, 8
I didn’t know RBG had their own R, G, B values that you could use, Thanks!