Harsha 2 Questions 1 Answer 0 Best Answers 22 Points View Profile 0 Harsha Asked: June 7, 20202020-06-07T05:00:24+00:00 2020-06-07T05:00:24+00:00In: Programmers How to change RGB color to HSV? 0 How to change RGB color to HSV? In C# language. I search for very fast method without any external library. colors c#hsvrgb Share Facebook 1 Answer Voted Oldest Recent Harit 10 Questions 3 Answers 0 Best Answers 24 Points View Profile Harit 2020-06-07T08:04:28+00:00Added an answer on June 7, 2020 at 8:04 am Have you considered simply using System.Drawing namespace? For example: System.Drawing.Color color = System.Drawing.Color.FromArgb(red, green, blue); float hue = color.GetHue(); float saturation = color.GetSaturation(); float lightness = color.GetBrightness(); 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. 0 Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Leave an answerLeave an answerCancel reply Featured image Select file Browse Save my name, email, and website in this browser for the next time I comment.