Jump to content

Color Variation UDF


McGod
 Share

Recommended Posts

I made this so I don't have to use PixelSearch () to find close colors, but then I continued to add some extra functions.

Functions:

_ColorCheckVariation($nColor, $sCompare, $sVari=5)
Check if the two color's are within a variation

_ColorGetVariation($nColor1, $nColor2, $nRetType=1)
Check if the two color's are within a variation

_ColorRGBToHex($nRed=0, $nGreen=0, $nBlue=0)
Check if the two color's are within a variation

_ColorHexToRGB($nColor)
Check if the two color's are within a variation

Download:

Color_Variation.au3

An example that uses this

Example.au3

Link to comment
Share on other sites

  • 1 month later...

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
 Share

  • Recently Browsing   0 members

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