If statement with textcolor3 isnt working

Good morning, ive got a problem, im comparing the textcolors of things to run a script but it isnt working for only some of them. The actual things in the if statement arent working

Heres the script:

for i,v in pairs(game.Players.LocalPlayer.PlayerGui.MainGui.Inventory.MainFrame.BasicsCL.ChapterI.Inv:GetDescendants()) do
		if v:IsA("TextButton") then
			v.MouseButton1Click:Connect(function()
				if v.Parent.TextColor3 == Color3.fromRGB(255,255,255) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "common"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(255,227,183) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "ancient"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(179,156,255) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "epic"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(255,237,192) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "exotic"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(251,193,255) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "fabled"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(249,255,179) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "legendary"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(197,205,255) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "mythical"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(206,255,213) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "pristine"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(175,201,255) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "rare"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(189,255,253) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "refined"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(0,0,0) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "silent"
				end
				
				if v.Parent.TextColor3 == Color3.fromRGB(203,255,171) then
					game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = "uncommon"
				end
			end)

Fabled,Refined,Pristine,Ancient and exotic arent working

Right now anybody fixing your code would have a hard time so instead of having like 10 if functions, you could just set v.Parent.Text to whatever the user got then

game.Players.LocalPlayer.PlayerGui.MainGui.TopFrame.Title.Text = v.Parent.Text

Try this inside the MouseClick