diff --git a/discord/colour.py b/discord/colour.py index 710ad420a..9f91f06f8 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -509,5 +509,15 @@ class Colour: """ return cls(0xEEEFF1) + @classmethod + def pink(cls) -> Self: + """A factory method that returns a :class:`Colour` with a value of ``0xEB459F``. + + .. colour:: #EB459F + + .. versionadded:: 2.3 + """ + return cls(0xEB459F) + Color = Colour diff --git a/docs/api.rst b/docs/api.rst index 8f3eb0946..c06d3b9e9 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -3621,6 +3621,12 @@ of :class:`enum.Enum`. Represents the default avatar with the color red. See also :attr:`Colour.red` + .. attribute:: pink + + Represents the default avatar with the color pink. + See also :attr:`Colour.pink` + + .. versionadded:: 2.3 .. attribute:: pink