Retrieves a boolean value that indicates whether the specified object is equivalent to this Color object.
public boolean equals( Object obj )
obj
The object to compare to this one.
Returns true if the objects are equivalent; otherwise, returns false.
If the object you specify is not a Color object, or the colors do not match, this method returns false.