Help with grouping backgroundcolor3

so I want to make it so I have a bunch of background color 3’s and I can then use them to make a theme for my gui but idk how (my script I tried):
(yes I made local scripts for PlaceHolderDevider)

local bgcolor = {
PlaceHolderDevider.BackgroundColor3
PlaceHolderDevider_2.BackgroundColor3
PlaceHolderDevider_3.BackgroundColor3
PlaceHolderDevider_4.BackgroundColor3
}

Is the root of the question making a theme ? or how to efficently store colors

I just need to know how to group the backgroundcolor3 so I can make the theme

i suggest you to use like this

local theme1 = {
    ["Header"] = Color3.new(0,0,0),
    ["Background"] = Color3.new(0,0,0),
    ["Texts"] = {
        ["RedText"] = Color3.new(0,0,0),
        ["BlueText"] = Color3.new(0,0,0),
    }
}

of course this only a example

1 Like