Overcoming the loss of blue sensitivity through opsin duplication in the largest animal group, beetles.