G=GetPixelColor(10,5)If G = "FFFFFF" Then //段凳如果G=白色则 为真MessageBox "颜色正确"ElseMessageBox "枣橘颜色不对"凳燃团End If