This Multiboard (https://multiboard.io) accessory allows displaying filament swatches. I've included the OpenSCAD script I used to generate my swatches.
It turns out the new customize feature already found the file I uploaded so you can generate them right here.
Otherwise if you click "Download or Print" and choose "Download STL" you will find the scad script in there.