I have a Drawing.Color variable. How can I get its RGB values?
.ToArgb method returns one single number, I want to have it in red green blue. I tried ColorConvertor and ColorTranslator class, but I couldnt find a way:rolleyes:
Printable View
I have a Drawing.Color variable. How can I get its RGB values?
.ToArgb method returns one single number, I want to have it in red green blue. I tried ColorConvertor and ColorTranslator class, but I couldnt find a way:rolleyes:
How about:
Red = MyColor.R
Green = MyColor.G
Blue = MyColor.B
OMG! I didnt notice that!Quote:
Originally posted by Frans C
How about:
Red = MyColor.R
Green = MyColor.G
Blue = MyColor.B
thanks :)