Drawing CMYK Colors with VB.NET.

I would like to be able to color a Panel or some other Control with a CMYK value.  The value is going to be specified by the user via TextBoxes.  The important part is that I am able to display a CMYK color on the Form.  How I go about doing it is not quite as important.

How can I go about doing this?  Do I need to use GDI Graphics?  Or is there some other means of accomplishing this?

Thanks.
AccuLinkAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

J1H1W1Commented:
Convert the CMYK to RGB and set the backcolor of the control to Color.FromARGB.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AccuLinkAuthor Commented:
I guess that would make sense given that CMYK is for printing and RGB is screen display.

Is a conversion absolutely necessary?

Thanks.
0
AccuLinkAuthor Commented:
Also, how is it programs such as Photoshop or any other imaging software allows you to specify a color in CMYK and is capable of showing you a preview?  Or is that a converted color as well?
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

J1H1W1Commented:
If you want to display a color on a device that starts out black and adds colors, you use RGB.  If you want to display a color on a device that starts out white and subtracts colors, you use CMYK.  It doesn't make much sense to start out black and subtract colors.
0
AccuLinkAuthor Commented:
I do appreciate the responses but I think this question is getting a bit side-tracked.

Is there any possible means of displaying a CMYK value with VB.NET?  If there is, then how can I accomplish this?

Thanks.
0
J1H1W1Commented:
What problem are you having implementing my first response?
0
AccuLinkAuthor Commented:
Well the challenge with that suggestion is that converting between CMYK and RGB results in color differentiation.  The scenario that I am dealing with needs to avoid any such color changes due to conversions.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.