Fastest formula to get Hue from RGB
Convert the RGB values to the range 0-1, this can be done by dividing the value by 255 for 8-bit color depth (r,g,b – are given values): R = r / 255 = 0.09 G = g / 255 = 0.38 B = b / 255 = 0.46 Find the minimum and maximum values of … Read more