revert back-end colour calculation