These are all 2-colour pixel patterns - the 'white' part will be made transparent.
create_magick_pattern_img(
width = 100,
height = 100,
type = "hexagons",
colour = "black"
)image dimensions
name of the imagemagick pattern. See http://www.imagemagick.org/script/formats.php for more information. See magick_pattern_names for a list of all supported imagemagick patterns.
colour used to draw the pattern