Allow to define options to display colors

Related to #1458.
@henriquemoody I agree, Environment is probably where change should go (improve test where colors are available).