The code works as intended, but with one slight problem. When executed the MsgBox() reports that the color is 0x8AE5DC but it should be 0xE8E9EE (it's random) but from there on in the color's are correct. So why is it the first color is always different? I have no idea what is the cause?! I was just learning a bit about PixelGetColor() this is why I created the Function (but credit should go to Yashied!) _Main() Func _Main() Local $GUI, $Label, $Color_Array[6] = [5, 0x8AE5DC, 0x8FFF9F, 0