Comparing colors in java
import java.awt.*;
import java.awt.event.*;
import java.lang.Object;
import java.awt.Robot;
publicclass Robot04{
publicstaticvoid main(String[] args)throws AWTException{
Color UnkownColor =new Color(0, 102, 255);
Color greenn =new Color(0, 204, 51);
Color bluu =new Color(0, 102, 255);
If (UnkownColor = bluu) System.out.print(" the color is blue");
}
}
This doesn't successfully compare the unknown and blue color and neither does ==, How do I compare them?

