#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.10.0 Author: WeaponX Script Function: Convert RGB color to HSB (like Photoshop) Converted from: [url="http://www.oooforum.org/forum/viewtopic.phtml?t=4945"]http://www.oooforum.org/forum/viewtopic.phtml?t=4945[/url] #ce ---------------------------------------------------------------------------- $result = _RGBtoHSB(255, 000, 000) MsgBox(0, "Red", "H:" & $result[0] & @CRLF &