i'm currently trying out a few different things and hit a wall when I was trying to get the rgb value of a color in a palette:
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.
Sidenote: It would be really great if we were able to Change the name of the individual colors here and i think that is something that is planned.
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:
bpy.data.palettes["PaletteTest"].name
But not on the values it contains.