diff --git a/coloraide/color.py b/coloraide/color.py index d319aed74..9a740a7a7 100644 --- a/coloraide/color.py +++ b/coloraide/color.py @@ -224,7 +224,7 @@ def __eq__(self, other: Any) -> bool: """Compare equal.""" return ( - type(other) == type(self) and + type(other) is type(self) and other.space() == self.space() and util.cmp_coords(other[:], self[:]) )