I'm looking for the RGB Value of one of the colors in this palette, and i want to get it by python and not just by "what slot is active" but by some sort of ID/Name, my next idea was to go to the Blender File API and look there for the Datapath of the individual color to get an idea how i would need to write my script, however right clicking on it there, does not reveal the usual feature to "copy Data Path" so i suspect that the information is stored somewhere deeper and that i need to access it in another way.
My final goal would be to get the color and with that set the color of a material on an object, the last part of it i already got down.
Has anyone an idea how i could get the vaulue? I was only able to get the data path up to the Palette itself:
But not on the values it contains.