diff --git a/SharedGraphics/Color.h b/SharedGraphics/Color.h index d04635999d..630771087f 100644 --- a/SharedGraphics/Color.h +++ b/SharedGraphics/Color.h @@ -102,6 +102,16 @@ public: RGBA32 value() const { return m_value; } + bool operator==(const Color& other) const + { + return m_value == other.m_value; + } + + bool operator!=(const Color& other) const + { + return m_value != other.m_value; + } + String to_string() const; private: