Add Colour.blurple and Colour.greyple.

This commit is contained in:
Rapptz 2017-05-13 17:39:12 -04:00
parent 64d09f3720
commit 96eca8aa53

View File

@ -200,5 +200,14 @@ class Colour:
"""A factory method that returns a :class:`Colour` with a value of ``0x546e7a``."""
return cls(0x546e7a)
@classmethod
def blurple(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0x7289da``."""
return cls(0x7289da)
@classmethod
def greyple(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0x99aab5``."""
return cls(0x99aab5)
Color = Colour