Jump to content

Recommended Posts

Posted (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. :think:

Edit: Oops, I just figured out that the 0-255 number is the shade variation of the "decimal" value, my mistake.

Edited by Nomad

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...