Mode colour capture now implemented. Needs optimization.