summaryrefslogtreecommitdiffstats
path: root/typing-stubs/colored/foreground.pyi
blob: 1bca2ed68b0029fefda96aebe698d19fa26437af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from .exceptions import InvalidColor as InvalidColor
from .library import Library as Library
from .utilities import Utilities as Utilities

class MetaFore(type):
    def __getattr__(cls, color: str): ...

class Fore(metaclass=MetaFore):
    @classmethod
    def rgb(cls, r: int | str, g: int | str, b: int | str) -> str: ...
    @classmethod
    def RGB(cls, r: int | str, g: int | str, b: int | str) -> str: ...

class fore(Fore): ...