G
Gene
I've been reading the documentation on Colors in .NET (System.Drawing.Color,
System.Drawing.ColorConverter, System.Drawing.ColorTranslator), and so far
have found nothing that lets us use the hex value of a color (e.g.,
#FF00FF); rather, it appears to me that all Color members use or require
individual RGB decimal values. I'm happy to write something that converts
the hex values to the corresponding RGB values - but do I really have to
"roll my own" on this? Have I missed something - or can we really use hex
values or have some base class do the translation?
Thanks.
System.Drawing.ColorConverter, System.Drawing.ColorTranslator), and so far
have found nothing that lets us use the hex value of a color (e.g.,
#FF00FF); rather, it appears to me that all Color members use or require
individual RGB decimal values. I'm happy to write something that converts
the hex values to the corresponding RGB values - but do I really have to
"roll my own" on this? Have I missed something - or can we really use hex
values or have some base class do the translation?
Thanks.