New Feature - black or white contrasting color based on current colour instance

Added feature to return black or white based on which contrasts best with current colour. This is useful for setting the font colour of text that appears on top of anything that uses this colour instance.