Just for laughs --
From comparison of various third-party USCM recognition charts and lists, I'd say the Weirzbowki would have to be a White Phosphorous, M60.
Synthesizing various sources, including screen shots that appear to show the green cap, at least, as having more of a rounded nose, I'd be tempted to identify them as follows;
M40 (HEDP, fragmentation) -- red, square-end cap with one white line
M38 (HEAP, armor piercing) -- green cap with conical taper, also one line
M51A (bounding fragmentation) -- dark blue cap with domed top, two white lines
All the above use the identical shell, but only the M40 has the trigger button. Under the cap, the M38 has a shaped charge with wave-shaper. And although canonically the M51A has the same shell, I think the grooves should be moved to indicate the different areas containing booster charge and fragmentation charge.
M60 (white phosphorous) -- yellow cap in a shallow domed shape, no line.
The M60 is the same aggregate length (with protective cap) but the grooving pattern is different. In addition, it is possible "W.P." is marked on the center ring. It also has a manual button, although the style is somewhat different. This may be shared with other smoke grenades as well as CS; all of them are incendiary types that begin action as soon as the button is released, whereas the fragmentation style have a three-second delay.
If I ever get up to injection molding I'd start making custom caps in the correct shapes. Printing might be possible, though -- would require a fair amount of post-process. Something that is proving quite tricky is figuring out a decent way to do a larger button, possibly with a rotatable safety especially for the M60. My feeling of the moment is these are striker caps; smash the broad flat button against a hard surface to activate, and the smoke begins to issue almost immediately.