----[UPDATE RGB SLIDERS]----

local function UpdateRGBSliders(z)
	for i = 1,#RGBSliders[z] do
		RGBSliders[z][i].Position = UDim2.new(0, PreviewColor[z].BackgroundColor3[rgb[i]] * RGBSliderHitboxes[z][i].AbsoluteSize.X, RGBSliders[z][i].Position.Y.Scale, 0)
		RGBInputs[z][i].Text = math.floor(PreviewColor[z].BackgroundColor3[rgb[i]] * 255)
	end
end
