KalbeDigitalLab/PathologyNucleiClassification
0
1from typing import Optional2 3 4class ColorPalette:5 """Color Palette Container."""6 all = []7 8 def __init__(9 self,10 c50: str,11 c100: str,12 c200: str,13 c300: str,14 c400: str,15 c500: str,16 c600: str,17 c700: str,18 c800: str,19 c900: str,20 c950: str,21 name: Optional[str] = None,22 ):23 self.c50 = c5024 self.c100 = c10025 self.c200 = c20026 self.c300 = c30027 self.c400 = c40028 self.c500 = c50029 self.c600 = c60030 self.c700 = c70031 self.c800 = c80032 self.c900 = c90033 self.c950 = c95034 self.name = name35 ColorPalette.all.append(self)36 37 38KALBE_THEME_COLOR = ColorPalette(39 name='kalbe',40 c50='#f2f9e8',41 c100='#dff3c4',42 c200='#c2e78d',43 c300='#9fd862',44 c400='#7fc93f',45 c500='#3F831C',46 c600='#31661a',47 c700='#244c13',48 c800='#18340c',49 c900='#0c1b06',50 c950='#050a02',51)52 