BrickColors with the same name not equal

This elusive bug has been bothering me and I just figured out how to reproduce it.

local a = BrickColor.new("Deep orange")
local b = BrickColor.new(BrickColor.new("Deep orange").Color)
print(a, b, a == b)

they are the same color
but no

hold on, this thread just popped up

adding print(a.Number, b.Number) prints 1017 and 1005. they are different numbers, but they have the same name. that is bad

2 Likes

So it’s just Deep orange?

for i = 0, 127 do
	local a = BrickColor.palette(i)
	local b = BrickColor.new(a.Color)
	if a ~= b then
		print(i, a, b)
	end
end

looks like Rust also has the same problem. Deep orange and Rust.

Gold has a similar issue. Insert a brick and color it gold. Then compare that color to the color of the yellow domes on this steam engine: https://www.roblox.com/library/302873713/Pro-Series-Pluto-Locomotive

I have noticed a problem with gold. My color palette was the wrong color for a couple colors, Gold and I think Lilac.