Fixed up invalid if statements.
Paragraph font colour variable was missing.