Oreoshakes Posted August 8, 2007 Share Posted August 8, 2007 I'm trying to figure out what the color white and orange are in code. example: 0xE0FFFF ^^^^^^^^^^^^ should look like this. Or if anyone knows where i can see all the colors so i can find myself that would be great. Link to comment Share on other sites More sharing options...
cmattb Posted August 8, 2007 Share Posted August 8, 2007 The website I use alot for colors is http://html-color-codes.com/. All you have to do is add the 0x before the code. So white is 0xFFFFFF. Orange would be 0xFF9933 or one of the other shades. behdadsoft 1 Link to comment Share on other sites More sharing options...
Oreoshakes Posted August 8, 2007 Author Share Posted August 8, 2007 The website I use alot for colors is http://html-color-codes.com/. All you have to do is add the 0x before the code. So white is 0xFFFFFF. Orange would be 0xFF9933 or one of the other shades.Cool thanks. Link to comment Share on other sites More sharing options...
Somerset Posted August 8, 2007 Share Posted August 8, 2007 I'm trying to figure out what the color white and orange are in code. example: 0xE0FFFF ^^^^^^^^^^^^ should look like this. Or if anyone knows where i can see all the colors so i can find myself that would be great.You can use this script to get the color in red blue gree hex and decimal... move the mouse over the color you like hit the f1 key and a window will appear with what you want... HotKeySet("{end}", "Terminate") HotKeySet("{f1}", "Pixs") While 1 Sleep(100) WEnd Func Terminate() Exit 0 EndFunc Func Pixs() $pos = MouseGetPos() $pixie = PixelGetColor( $pos[0], $pos[1]) $color=Hex($pixie, 6) $red = StringMid($color, 1, 2) $green = StringMid($color, 3, 2) $blue = StringMid($color, 5, 2) $r = Dec($red) $g = Dec($green) $b = Dec($blue) if $pos[0] > @DesktopWidth - 210 then $pos[0] = @DesktopWidth -210 if $pos[1] > @DesktopHeight - 70 then $pos[1] = @DesktopHeight -70 if $pos[0] = @DesktopWidth -210 and $pos[1] = @DesktopHeight - 70 then $pos[0] = @DesktopWidth -215 *2 $pos[1] = @DesktopHeight -75 *2 endif SplashTextOn ( "Color Checker","Red ("&$r &") Green ("&$g &") Blue ("&$b & ")"&@CRLF &"Hex---> " & $color &@CRLF &"Dec---> " &$pixie, 195, 55,$pos[0] +15 ,$pos[1] +15, 5, "Tahoma",10) EndFunc Link to comment Share on other sites More sharing options...
Oreoshakes Posted August 9, 2007 Author Share Posted August 9, 2007 Ok I'm having a problem, for some reason when i use $target = 0xFFFFFF for white it doesn't target the color white but when i use $Target = 0x5B9600 witch isn't even on the color chart is able to target green. Anyone know whats goin' on here? Link to comment Share on other sites More sharing options...
Oreoshakes Posted August 9, 2007 Author Share Posted August 9, 2007 You can use this script to get the color in red blue gree hex and decimal... move the mouse over the color you like hit the f1 key and a window will appear with what you want... HotKeySet("{end}", "Terminate") HotKeySet("{f1}", "Pixs") While 1 Sleep(100) WEnd Func Terminate() Exit 0 EndFunc Func Pixs() $pos = MouseGetPos() $pixie = PixelGetColor( $pos[0], $pos[1]) $color=Hex($pixie, 6) $red = StringMid($color, 1, 2) $green = StringMid($color, 3, 2) $blue = StringMid($color, 5, 2) $r = Dec($red) $g = Dec($green) $b = Dec($blue) if $pos[0] > @DesktopWidth - 210 then $pos[0] = @DesktopWidth -210 if $pos[1] > @DesktopHeight - 70 then $pos[1] = @DesktopHeight -70 if $pos[0] = @DesktopWidth -210 and $pos[1] = @DesktopHeight - 70 then $pos[0] = @DesktopWidth -215 *2 $pos[1] = @DesktopHeight -75 *2 endif SplashTextOn ( "Color Checker","Red ("&$r &") Green ("&$g &") Blue ("&$b & ")"&@CRLF &"Hex---> " & $color &@CRLF &"Dec---> " &$pixie, 195, 55,$pos[0] +15 ,$pos[1] +15, 5, "Tahoma",10) EndFunc didn't refresh before posting so i didn't see this, thank you. Link to comment Share on other sites More sharing options...
Oreoshakes Posted August 9, 2007 Author Share Posted August 9, 2007 Very, Very useful script. Now I'm finally done thanks to everyone who helped me with Colors and Errors. Great site and community! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now