c# Programming Glossary: maxrgb
Algorithm to Switch Between RGB and HSB Color Values http://stackoverflow.com/questions/4123998/algorithm-to-switch-between-rgb-and-hsb-color-values Function RGBToHSB rgb As RGBColor As HSBColor Dim minRGB maxRGB Delta As Double Dim h s b As Double h 0 minRGB Min Min rgb.Red.. b As Double h 0 minRGB Min Min rgb.Red rgb.Green rgb.Blue maxRGB Max Max rgb.Red rgb.Green rgb.Blue Delta maxRGB minRGB b maxRGB.. rgb.Blue maxRGB Max Max rgb.Red rgb.Green rgb.Blue Delta maxRGB minRGB b maxRGB If maxRGB 0 Then s 255 Delta maxRGB Else s 0..
|