comp • gb.image • color • distance

Color.Distance (gb.image)

Static Function Distance ( Color1 As Integer, Color2 As Integer ) As Float

Return the RGB distance between two colors as a floating point number between 0.0 and 1.0.