Custom filament swatch like custom keyring, that has title and subtitle.
For AMS support, please use https://github.com/jschobben/colorscad. This will make sure your title and subtitle sections have different colors.
Once, colorscad creates a new 3mf file, you need to change the filament type of the base, title and the subtitle through Objects menu in Bambu Studio.