Color option middleware