add functions for getting matching colors and position