Color.Contrast (gb.image)
Static Function Contrast ( Color1 As Integer, Color2 As Integer ) As Float
Return the contrast between two colors as a number between 
0 and 
1.
  - 
0 means that the two colors are the same (or almost).
 
  - 
1 is the highest contrast possible.