How to change color3 with varaible?

So how can I change my text color with a variable because if I try to make a variable it will say I can’t use it because of the commas so how could I do it, without making alot of variables like x,y,y?

local RedTextColor = 255, 101, 101
local RedTextStrokeColor = 162, 0, 3
local RedBorderStrokeColor = 173, 0, 3

local GreenTextColor = 121, 255, 111
local GreenTextStrokeColor = 91, 162, 91
local GreenBorderStrokeColor = 108, 193, 102

Use Color3.fromRGB(), then do this basically with all the other variables

local RedTextColor = Color3.fromRGB(255, 101, 101)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.