Can someone tell me how to convert a hex string (ie: #ff0000), which is used in html, to a RED, GREEN, and BLUE value?
thanks!
thanks!
Graphics 640,480 hex_value=$ffaabbcc Print Hex((hex_value And $FF0000) Shr 16) Print Hex((hex_value And $FF00) Shr 8) Print Hex(hex_value And $FF) MouseWait() End
Graphics 640,480 hex_value=$ffaabbcc my_red = ((hex_value And $FF0000) Shr 16) my_green = ((hex_value And $FF00) Shr 8) my_blue = (hex_value And $FF) MouseWait() End