Sign in to follow this  
Followers 0
McGod

Color Variation UDF

2 posts in this topic

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

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