How can I convert a RGB Color to HSV using C#?
I’ve searched for a fast method without using any external library.
How can I convert a RGB Color to HSV using C#? I’ve searched for
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Have you considered simply using System.Drawing namespace? For example:
Note that it’s not exactly what you’ve asked for (see differences between HSL and HSV and the Color class does not have a conversion back from HSL/HSV but the latter is reasonably easy to add.