Monokai
Comment: Rather obviously an AI submission. See WP:NOLLM ChrysGalley (talk) 13:21, 4 October 2026 (UTC)
| Original author(s) | Wimer Hazenberg |
|---|---|
| Initial release | 2006 |
| Engine | |
| Type | Syntax highlighting color scheme |
| License | Various (Original ports) Proprietary (Monokai Pro) |
| Website | monokai |
Search Monokai on Amazon.
Monokai is a syntax highlighting color scheme, created by Wimer Hazenberg in 2006. It is characterized by a high-contrast "dark mode" palette with a background of desaturated dark gray and vibrant syntax colors. While it was originally designed for TextMate, it became popular after it was added as a default theme in Sublime Text. It is widely regarded one of the most recognizable color schemes in software development, and is available as community-maintained ports for virtually all modern integrated development environments (IDEs).
History
Monokai was created in 2006 by a Dutch digital artist and developer named Wimer Hazenberg. He originally designed the scheme for TextMate, a macOS text editor that was popular among developers at the time. He shared the theme on the TextMate community wiki in 2006.[1][2] The name "Monokai" was derived from Hazenberg's online alias.[3]
In 2011, Sublime Text 2 switched its default look to Monokai, bringing the color palette to a larger set of developers on Windows and Linux systems.[4]
In 2017, Hazenberg published Monokai Pro, a commercial evolution of the theme with a more refined palette and custom user interface icons for Sublime Text, Visual Studio Code, and JetBrains IDEs.[5]
Design
Monokai is a dark theme designed to provide high variability without causing eye strain. The background is typically a dark gray. The palette uses vibrant, saturated colors to distinguish between syntax elements. Hazenberg has explained that Monokai's objective has been to create something that is both colorful and functional, valuing subjective balance over mathematical formulas for colors.[3]
Although implementations differ, the original Monokai palette consists of:[1]
| Syntax Element | Color Name | Hex Value | Swatch | Examples |
|---|---|---|---|---|
| Background | Dark Gray | #272822 | ||
| Comments | Gray | #6e7066 | // comment | |
| Default Text | White | #fdfff1 | ||
| Keywords | Red | #f92672 | if, else
| |
| Arguments | Orange | #fd971f | function(arg1, arg2)
| |
| Strings | Yellow | #e6db74 | log("text")
| |
| Function names | Green | #a6e22e | funk(a, b)
| |
| Classes | Blue | #66d9ef | class App
| |
| Constants | Purple | #ae81ff | const SIZE = 1024
|
The scheme has been utilized in academic research regarding the psychology of programming. A 2023 proceeding by the Psychology of Programming Interest Group (PPIG) used Monokai as the representative "dark mode" condition to study the effects of editor themes on developer cognition.[6]
Reception and legacy
Monokai is frequently cited alongside Solarized and Dracula as one of the most popular color schemes for developers.[7] It has been adopted in several open source software projects by the community, including Vim, Emacs, Notepad++, Xcode, and GitHub.
The theme has appeared in popular media. The creator notes that the color scheme has been spotted in code screenshots in television series such as Silicon Valley and Mr. Robot.[3]
References
- ↑ 1.0 1.1 "Textmate color theme". Monokai Blog (via Internet Archive). 2006-07-15. Retrieved 2026-01-20.
- ↑ "User Submitted Themes". Textmate Wiki (via Internet Archive). Retrieved 2007-01-20.
- ↑ 3.0 3.1 3.2 "The History of Monokai". Monokai.pro. Retrieved 2026-01-20.
- ↑ "Sublime Text 2 Build 2076 Changelog". Sublime Text. 2011-07-11. Retrieved 2026-01-20.
- ↑ Hazenberg, Wimer (2017-06-22). "Monokai Pro – Beautiful Functionality for Professional Developers". HackerNoon. Retrieved 2026-01-20.
- ↑ Sergeyuk, Agnia; et al. (August 2023). "Overcoming the Mental Set Effect in Programming Problem Solving" (PDF). Proceedings of the 34th Annual Workshop. Psychology of Programming Interest Group (PPIG): 177.
- ↑ "The 20 Best VSCode Themes in 2024". Hackr.io. Retrieved 2026-01-20.
External links
References
This article "Monokai" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Monokai. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.
