* The color can be given in either hexadecimal ("FF45C0") or human-readable ("red") format.
*
* @see <a href="http://www.uispec4j.org/colors">Using colors</a>
*/
public Assertion foregroundEquals(final String expectedColor) {
return new Assertion() {
public void check() {
Color foreground = getAwtComponent().getForeground();
if (foreground == null) {
foreground = Color.BLACK;
}