Change color Message in Component.Message?

I was referring to Grasshopper’s “internal” implementation.
So if you want to change the color of a message, you can only do so as a side effect by changing the color of the capsule’s edges.

It cannot be changed directly using the method ForegroundColour.

The following page provides a sample of how to change the edge color of the capsule, but it is not possible to do so from the C# Script component.