# PyREPL color themes

**URL:** <https://discuss.python.org/t/pyrepl-color-themes/94023>\
**Category:** Developer Tools\
**Created:** [June 1, 2025, 1:14am UTC](https://discuss.python.org/t/pyrepl-color-themes/94023 "2025-06-01T01:14:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PawelWojcik](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@PawelWojcik](https://discuss.python.org/u/PawelWojcik)\
**Post date:** [June 1, 2025, 1:14am UTC](https://discuss.python.org/t/pyrepl-color-themes/94023/1 "2025-06-01T01:14:50Z")

</div>

Python 3.14 in its latest beta release supports [syntax highlighting](https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting) in the default REPL.

The default color theme poorly integrates with the default colors of Ubuntu’s terminal. I have put together a [template](https://github.com/the-pawel-wojcik/PyREPLcolors) for adjusting the default color scheme but I would be happy if there was someone with good taste ready to setup the colors for me. If anyone know of any theme collections that already exists, I would be happy to hear about them too. Thanks, Paweł

---

<div class="post-metadata">

**Author:** ![hugovk](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/hugovk/32/14505_2.png) [@hugovk](https://discuss.python.org/u/hugovk)\
**Post date:** [June 1, 2025, 9:06am UTC](https://discuss.python.org/t/pyrepl-color-themes/94023/2 "2025-06-01T09:06:10Z")

</div>

Tip: you don’t need to set all the colours (like [this](https://github.com/the-pawel-wojcik/PyREPLcolors/blob/195d53234ff8c35f5f158d7352e8a5d49e719bb2/colorscheme.py#L44)), instead you can use `default_theme.copy_with()` and then only change the ones you want to.

See the big comment in [\_colorize.py](https://github.com/python/cpython/blob/b5952371668089299bc8472c1adb9f8a0e69b4a2/Lib/_colorize.py#L78-L114).

---

<div class="post-metadata">

**Author:** ![brettcannon](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/brettcannon/32/34895_2.png) [@brettcannon](https://discuss.python.org/u/brettcannon)\
**Post date:** [June 2, 2025, 6:31pm UTC](https://discuss.python.org/t/pyrepl-color-themes/94023/3 "2025-06-02T18:31:00Z")

</div>

6 posts were split to a new topic: [Why does \_colorize.copy\_with() exist?](https://discuss.python.org/t/why-does-colorize-copy-with-exist/94244)

---

<div class="post-metadata">

**Author:** ![PawelWojcik](https://avatars.discourse-cdn.com/v4/letter/p/ee59a6/32.png) [@PawelWojcik](https://discuss.python.org/u/PawelWojcik)\
**Post date:** [June 9, 2025, 1:24pm UTC](https://discuss.python.org/t/pyrepl-color-themes/94023/4 "2025-06-09T13:24:00Z")

</div>

Thanks for the comment and for the discussion. I have updated the script to use `copy.replace`. I am still interested in learning about themes that others create.
