Sign in to follow this  
Followers 0
Oreoshakes

Need help with Color

7 posts in this topic

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.

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Very, Very useful script. Now I'm finally done thanks to everyone who helped me with Colors and Errors.

Great site and community!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0