massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Pillow / PIL / ImageColor.pyi
1 from typing import Tuple, Union
2
3 _RGB = Union[Tuple[int, int, int], Tuple[int, int, int, int]]
4 _Ink = Union[str, int, _RGB]
5 _GreyScale = Tuple[int, int]
6
7 def getrgb(color: _Ink) -> _RGB: ...
8 def getcolor(color: _Ink, mode: str) -> _RGB | _GreyScale: ...
9
10 colormap: dict[str, str]