@Test
public void testIsValidHexColor()
{

    assertFalse( isValidHexColor( "abcpqr" ) );
    assertFalse( isValidHexColor( "#qwerty" ) );
    assertFalse( isValidHexColor( "FFAB#O" ) );
    assertTrue( isValidHexColor( "#FF0" ) );
    assertTrue( isValidHexColor( "#FF0000" ) );
    assertTrue( isValidHexColor( "FFFFFF" ) );
    assertTrue( isValidHexColor( "ffAAb4" ) );
    assertTrue( isValidHexColor( "#4a6" ) );
    assertTrue( isValidHexColor( "abc" ) );
}