Refactor sepia color conversion