There are various kinds of brushes, and only the SolidBrush has a specific colour. Test if your brush is a SolidBrush, then cast it to a SolidBrush and access its Color member. Similarly, you can turn a colour into a brush by creating a new SolidBrush based on it:
C#:
Brush br = new SolidBrush(col);
col = (br as SolidBrush).Color;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.