Nomad Posted May 4, 2006 Share Posted May 4, 2006 (edited) PixelGetColor gives the decimal value of a color, which is usually 6-7 digits long. PixelSearch requires the color you are searching for to be between 0 and 255. So, how do I convert the decimal value to a value between 0 and 255 so that I can perform a PixelSearch? I'm not very familiar with color codes, incase you can't tell. Edit: Oops, I just figured out that the 0-255 number is the shade variation of the "decimal" value, my mistake. Edited May 4, 2006 by Nomad 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