Extract main form colours into variables in preparation for work on the colour scheme feature.