Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions colour.py
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,9 @@ def __ne__(self, other):
return equal if equal is NotImplemented else not equal


Colour = Color


RGB_equivalence = lambda c1, c2: c1.hex_l == c2.hex_l
HSL_equivalence = lambda c1, c2: c1._hsl == c2._hsl

Expand Down