----[INITIALIZE VARIABLES]----

function Initialize()
	for i = 1, #ColorPickers do
		table.insert(PreviewColor, ColorPickers[i].PreviewColor)
		table.insert(RGBHolders, ColorPickers[i].RGBValues)
		table.insert(Errors, ColorPickers[i].Parent.Parent.Error)
		local Inputs = { 
			RGBHolders[i].Red.Value, 
			RGBHolders[i].Green.Value, 
			RGBHolders[i].Blue.Value 
		}
	 	local Hitboxes = { 
			RGBHolders[i].Red.Slider.Hitbox, 
			RGBHolders[i].Green.Slider.Hitbox, 
			RGBHolders[i].Blue.Slider.Hitbox 
		}
		local Sliders = { 
			RGBHolders[i].Red.Slider.Hitbox.Slider, 
			RGBHolders[i].Green.Slider.Hitbox.Slider, 
			RGBHolders[i].Blue.Slider.Hitbox.Slider 
		}
		table.insert(RGBInputs, Inputs)
		table.insert(RGBSliderHitboxes, Hitboxes)
		table.insert(RGBSliders, Sliders)
		UpdatePreviewColor(i)
		UpdateRGBSliders(i)
	end
end
Initialize()
