Model improvements, color processing functions