add nitro booster color

This commit is contained in:
NightSlasher35 2021-08-29 00:42:30 +01:00 committed by GitHub
parent 6bcc717e63
commit 803bc178c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -252,6 +252,12 @@ class Colour:
"""A factory method that returns a :class:`Colour` with a value of ``0xe74c3c``."""
return cls(0xe74c3c)
@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 dark_red(cls: Type[CT]) -> CT:
"""A factory method that returns a :class:`Colour` with a value of ``0x992d22``."""