Getting R, G, and B of Active Color in Custom Color Palette?
According to docs PaletteColor class has color attribute, which is

float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)

And active is just another PaletteColor.
Assuming these values are RGB, it would be
print([value for value in pal.colors.active.color])