Option menu colormixer

So im working on a hud and i want to be able to change the color of the hud with a color mixer in the options menu i have the color mixer in the menu but i dont know how to get the colors from the mixed to a variable that i can use in other parts of the code.


function TheMenu( Panel )    Panel:ClearControls()
    
    Panel:AddControl("CheckBox", {
        Label = "Toggle Info Bar",
        Command = "toggle_info_hud",
    })


    Panel:AddControl("CheckBox", {
        Label = "Toggle Extra Info Bar",
        Command = "toggle_extra_info_hud",
    })


    Panel:AddControl("Color",  {
        Label = "HudColor", 
    })
end


function createthemenu()
    spawnmenu.AddToolMenuOption( "Options",
    "Info Bar",
    "InfoSettings",
    "Settings",
    "",
    "",
    TheMenu )
end


hook.Add( "PopulateToolMenu", "pleasework", createthemenu )

https://i.gyazo.com/3d2d641650b86885784a7b42cbf7346e.png

What if you set a convar then when it comes to the hud you can check the players convar and see what they have it set to! (im pretty sure this is how utime does it)