@Override
    public int hashCode () {
        int result = fg !=null ? fg.hashCode() : 0;
        result = 31 *result +(bg!=null  ? bg.hashCode() : 0);
        result = 31 *result +(bold      ? 1             : 0);
        result = 31 *result +(dim       ? 1             : 0);
        result = 31 *result +(underline ? 1             : 0);
        result = 31 *result +(blink     ? 1             : 0);
        result = 31 *result +(reverse   ? 1             : 0);
        result = 31 *result +(hidden    ? 1             : 0);
        return result;
    }