------------

local x = (PlayerMouse.X - Colors.AbsolutePosition.X) / Colors.AbsoluteSize.X
local y = (PlayerMouse.Y - Colors.AbsolutePosition.Y) / Colors.AbsoluteSize.Y
h = 1 - x
s = 1 - y
Colors.Picker.Position = UDim2.new(x, 0, y ,0)
Brightness.ImageColor3 = Color3.fromHSV(h, s, 1)
Preview.ImageColor3 = Color3.fromHSV(h, s, v)
ChangeColorEvent:FireServer(Preview.ImageColor3)