Creating dynamic colors

So, here is what I have finally done :

  • I have an UDT containing :
    -- a Memory Dataset of columns Index (Int), Description (String), Color (Color) containing all possible animation used by Styles customizer
    -- a expression tag for each color usable outside of Styles customizer referencing the dataset. This way it's easier to use for single color references
    -- a memory tag for each color NOT used in Styles customizer for background of popup windows for exemple of for unanimated element.
  • I have another UDT containing blinking tag
  • In every animated object, I have create an int containing the reference Index of the color Dataset. Additionally, I use the appropriate blinking tag to change this value. This int is used in the Style customizer as long as the color dataset

This wait every color I use several times is referenced in that UDT and if I wanted, I could create an editor and make it available to the user so he could change the colors.