Sign in to follow this  
Followers 0
schiznak

Hex Colors

2 posts in this topic

Hey, i was just wonering, Is there a good method for getting a colour you see on the screen and converting it into a hexidecximal codes which can be used in an Auto-it script

The way i tried always gets it wrong

just wonndering, what method do you use?

Share this post


Link to post
Share on other sites



$var = PixelGetColor( 10 , 100 )

MsgBox(0,"The decmial color is", $var)

MsgBox(0,"The hex color is", Hex($var, 6))

This should work fine.

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