# How to know if the terminal supports color (escape sequences)

**URL:** <https://discourse.julialang.org/t/how-to-know-if-the-terminal-supports-color-escape-sequences/11173>\
**Category:** General Usage\
**Created:** [May 26, 2018, 11:01pm UTC](https://discourse.julialang.org/t/how-to-know-if-the-terminal-supports-color-escape-sequences/11173 "2018-05-26T23:01:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Post date:** [May 26, 2018, 11:01pm UTC](https://discourse.julialang.org/t/how-to-know-if-the-terminal-supports-color-escape-sequences/11173/1 "2018-05-26T23:01:07Z")

</div>

Hi guys!

I am overloading the `show` function and I want to print some text with color. Is there a way to know if the terminal support colors or if the user wants colors? For example, if the user execute `julia --colors=no` I would like to not print the colors, but I do not know how to do this inside the `show` function.
