add a color

This commit is contained in:
iDutchy
2020-11-04 19:51:07 -06:00
parent 188b69c097
commit ae0f11ce53
3 changed files with 9 additions and 0 deletions

View File

@ -336,6 +336,13 @@ class Colour:
"""A factory method that returns a :class:`Colour` with a value of ``0xff7043``."""
return cls(0xff7043)
@classmethod
def nitro_booster(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0xf47fff``.
.. versionadded:: 1.5.1.5"""
return cls(0xf47fff)
@classmethod
def rust(cls):
"""A factory method that returns a :class:`Colour` with a value of ``0xa83c09``."""