Color

from katlas.plot import *

STY color

get_color_dict(['S','T','Y'],'tab20')
{'S': (0.12156862745098039, 0.4666666666666667, 0.7058823529411765),
 'T': (0.6823529411764706, 0.7803921568627451, 0.9098039215686274),
 'Y': (1.0, 0.4980392156862745, 0.054901960784313725)}

Group color

group_color=get_color_dict(
            ['CMGC','AGC', # blue
             'TK','TKL', # orange
             'CAMK','STE', # green
             'CK1', 'NEK', # red
             'Atypical','Other', # purple
             'RGC'
            ]
)
group_color
{'CMGC': (0.12156862745098039, 0.4666666666666667, 0.7058823529411765),
 'AGC': (0.6823529411764706, 0.7803921568627451, 0.9098039215686274),
 'TK': (1.0, 0.4980392156862745, 0.054901960784313725),
 'TKL': (1.0, 0.7333333333333333, 0.47058823529411764),
 'CAMK': (0.17254901960784313, 0.6274509803921569, 0.17254901960784313),
 'STE': (0.596078431372549, 0.8745098039215686, 0.5411764705882353),
 'CK1': (0.8392156862745098, 0.15294117647058825, 0.1568627450980392),
 'NEK': (1.0, 0.596078431372549, 0.5882352941176471),
 'Atypical': (0.5803921568627451, 0.403921568627451, 0.7411764705882353),
 'Other': (0.7725490196078432, 0.6901960784313725, 0.8352941176470589),
 'RGC': (0.5490196078431373, 0.33725490196078434, 0.29411764705882354)}