Dynamically print the product name in the actual color of the product
Many of my products come in multiple colors, and a common error my shippers make is to send the wrong color. It would be awesome if the product name could print out on the packing slip in the actual color of the product.
So "Large widget - Blue" would print out in blue on the packing slip
and "Medium widget - Red" would print out in red
My products also come in 2 sizes, so I would also use this to have a custom color for each size, so my packers could easily see which size by the color
If product name contains this string: "sample string"
Print that string in color: "#FFFFFF"