# Jupyter, change prompt colors

**URL:** <https://discourse.julialang.org/t/jupyter-change-prompt-colors/559>\
**Category:** General Usage\
**Tags:** jupyter\
**Created:** [November 25, 2016, 1:45pm UTC](https://discourse.julialang.org/t/jupyter-change-prompt-colors/559 "2016-11-25T13:45:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Post date:** [November 25, 2016, 1:45pm UTC](https://discourse.julialang.org/t/jupyter-change-prompt-colors/559/1 "2016-11-25T13:45:41Z")

</div>

Is there a way to change the prompt color dynamically in Jupyter? This is to give a visual indication of an input mode. Another way to indicate this might also work, e.g. changing the prompt text.

It appears that neither of these is mentioned in the `IJulia` module.

(Maybe a `Jupyter` tag or category or s.t. would be useful. Or more broadly `UI`, or …)

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihnorton/32/26_2.png) [@ihnorton](https://discourse.julialang.org/u/ihnorton)\
**Post date:** [November 25, 2016, 4:42pm UTC](https://discourse.julialang.org/t/jupyter-change-prompt-colors/559/2 "2016-11-25T16:42:57Z")

</div>

```julia
macro javascript_str(s) display("text/javascript", s) end

javascript"""
$("div.input_prompt").css({"color": "cyan"})
"""

```

---

<div class="post-metadata">

**Author:** ![jlapeyre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlapeyre/32/4514_2.png) [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Post date:** [November 25, 2016, 11:50pm UTC](https://discourse.julialang.org/t/jupyter-change-prompt-colors/559/3 "2016-11-25T23:50:14Z")

</div>

Thanks. It looks like this will work.
