Anatomy of a Dark Theme: Bioluminescence

In the spring of 2020 the sea off Southern California turned the color of strong tea. By day the water along the beaches from San Diego to Los Angeles was a dull reddish brown, a red tide made of a single kind of plankton, Lingulodinium polyedra, in numbers so large it stained the waves. After dark the same water did something else. Every wave that broke lit up along its whole length in electric blue, dolphins left glowing trails as they swam, and people walking on the wet sand saw a spark under each footstep. The plankton had been there all day. They only light up at night, and only when something moves the water around them.

Codigrate's Bioluminescence theme is that beach after sunset. What follows takes it apart color by color. It is the thirteenth nature theme in this series after Aurora Borealis, Everest, Sequoia, Autumn, Roraima, Sakura, Ocean, Salda, Reynisfjara, Spring, Etna and Fuji, and the thirteenth premium theme, after Dublin and the eleven before it. Ocean dives into the deep sea; Bioluminescence stays at the waterline, where the glow is close enough to touch.

A Light That Only Moves

The glow comes from a chemical called luciferin, burned with oxygen by an enzyme, luciferase, inside small pockets in each cell. A single cell flashes for about a tenth of a second when the water around it is bent or pushed, by a wave, an oar or a hand, so the light is always drawn by movement: the crest of a breaker, the wake of a boat, the outline of a swimmer. Its color peaks near 475 nanometers, a clear blue, which is also the color sea water lets through best. One reading of why the plankton do it at all is the burglar alarm: a flash around a small animal that is busy eating them lights it up for the bigger fish that eat it.

The theme's own description sets the scene: a bioluminescent shore at night, where every wave breaking on the sand lights up in electric blue, a near black ocean base tinted with midnight navy, then glowing cyan, plankton blue and violet. The palette names follow the water from the bottom up. Abyss, Deep Tide, Midnight Water and Dark Current are the dark. Undertow, Night Swell, Reef Shadow and Drift Blue are the water that moves in it, Sea Mist and Moonlit Foam the spray. Then the light: Electric Tide, Noctiluca, after the plankton called sea sparkle, Shallow Glow, Periwinkle Glow, Violet Depth and Glow Pool. Kelp Green, Moonlit Sand, Lilac Current and Coral Alert are kept for the interface's successes, warnings, notes and errors.

The Harmony: One Blue, Many Brightnesses

Most themes in this series tell their syntax apart by hue: a green here, an orange there, a pink across the wheel. Bioluminescence barely moves around the wheel at all. Its accent, Electric Tide #2F7BFF, sits at 218 degrees, and almost every color in the code stays within twenty degrees of it on either side. It is the closest thing in the catalogue to a monochromatic theme, a single blue played at many strengths.

That is how the real thing looks. A breaking wave does not glow in several colors; it glows in one blue, bright where the water is churned hardest and fading where it is calm. The theme does the same with lightness and saturation. The blues of the code climb from 72 percent lightness for the keywords to 83 for the globals, and the darkest blues in the theme are kept for the water, near 10 percent and below. The two ends of the scale do the work a second hue does elsewhere.

There is one step away. Violet Depth #8F7CFF, at 249 degrees, is the second accent, about thirty degrees past the blue, a neighbor rather than an opposite. It is the color moonlight gives the foam, and it shows up where the window is busy: the progress bar fills with it and a selected tool window button turns violet.

Backgrounds, Darkest Where The Code Is

Bioluminescence's backgrounds are four very dark blues, and unlike most dark themes the code sits on the deepest one:

  • Input #03060D, Abyss, for search fields and dialogs.
  • Editor #06080F, Deep Tide, the page the code is written on.
  • Window #0D1220, Midnight Water, for the tool windows and panels.
  • Surface #0E1526, Dark Current, the outer frame the whole window sits in.

All four sit between 220 and 224 degrees, and their lightness goes from 3 percent for the editor to 9 and 10 for the panels and the frame. Borders and separators take the frame's own color, so the window has no drawn lines; the panels are cut out of the night by brightness alone. The editor is the darkest place in the window because on a glowing beach the water is the darkest thing you can see, and everything that lights up is in it. Main text, a cold white #E7EEFA, reaches about 17:1 on it, and labels on the frame about 14:1.

Hovering goes the wrong way on purpose. A row under the mouse turns #0A0E1A, darker than the panel, as if a hand had pushed into the water. A selected row in the project tree is Night Swell #212F57 edged in Drift Blue #62709A, and when the window loses focus it fades to Undertow #192442 edged in Reef Shadow #263663. The active editor tab sits on Glow Pool #0F2650, a deep saturated navy, underlined in Electric Tide, and links, changed settings and the letters matched in code completion take Electric Tide too. Search matches in the interface are the brightest thing in the window: Noctiluca #36D4F0, the cyan of a wave at the moment it breaks.

Inside the editor the marks are quieter. Selected text sits on a slate #282D3E with the code still at about 11.7:1. Search results in the code are a grey blue #2D3346 with a #6B97E5 edge. The word under the caret turns a pale lilac white #E3DFFB on #333A4F where it is read, and on a shade lighter #373E55 where it is written to. A matched brace is the one teal in the editor, a bold brace on #133847, like a small patch of water lit from underneath.

The status colors come from the rest of the shore: Moonlit Sand #E8D48A for warnings, Kelp Green #85B66F for success, Lilac Current #9A8CF0 for information and Coral Alert #E8545C for errors, the only warm colors in the theme, so a problem never blends in with the glow.

The Quiet Parts Of The Water

Names in the code, class names, function names and constants, are a soft grey white #D1D6E6 at about 13.8:1, a step below the main text. They are the shapes in the water, and the glow sits around them. Inline hints and secondary labels in the interface use Sea Mist #9CB0C8.

Comments are a slate #657386 with 14 percent saturation, at about 4.1:1, just under the 4.5:1 the readability post suggests for body text. Line and doc comments are set in italics, block comments are not, and the tags inside doc comments are bold and underlined. They are the one part of a file that does not glow.

The gutter is #090B0F, a hair lighter than the page. Line numbers are a deep electric blue #225BBF at about 3.2:1, and the number on the current line lights up to #3B7AE7, the way a patch of water brightens when something moves through it. The caret is a pale blue #95B4EA and the current row #151822. Indent guides and the right margin are drawn in #191C26, barely visible, and the guide of the block you are in steps up to #262B3B.

Syntax: The Glow, Brightness By Brightness

Open a file and the wave breaks across it:

  • Keywords in #70A5FF, a lighter Electric Tide at about 8.1:1, plain weight.
  • Instance methods in #7FB2FF, one step brighter, and JavaScript member functions in the same blue.
  • Strings and numbers in #9EC5FF, the brightest of the plain blues, with escapes inside them in a muted #98A4C8.
  • Instance fields in a cyan #6CC6DA, the only syntax color that leans toward Noctiluca.
  • Static fields and methods in the same cyan and blue as their instance twins, set in italics.
  • Parameters in Shallow Glow #ACDAF6, a pale sky blue.
  • Global variables in Periwinkle Glow #A6B4FF, the palest and most violet of the blues.
  • Local variables in #988BE9, the one real violet in the code.
  • Annotations in a strong blue #5280FE, HTML and XML tags in #6598F1, and their attributes in a pale sea green #A8D9C5.
  • Class names, function names and constants in #D1D6E6, the plain grey white.

Read a few lines and the rule shows. The keywords and the methods, the words that make a program do something, are the stronger, deeper blues. The values written straight into the file, strings and numbers, are brighter and paler, as if they were the foam on top. What belongs to an object glows cyan, what belongs to the whole program glows periwinkle, and the one variable you are working with right now, the local, is violet, so it never sinks into the rest of the blue. With so little hue to spare, every step of brightness carries a meaning, and the theme spends them carefully.

The Final Product

Here is Bioluminescence put back together. A JetBrains IDE sits in its midnight frame with the code glowing on near black, and Sublime Text keeps the same blues on the same dark page. Slack goes deep navy around the chat with a blue row for the channel you are in, Ghostty prints in blue, cyan and violet on black, and in Rhino the viewports go dark as the sea with Violet Depth marking the active tab and the snaps you have turned on.

Bioluminescence theme in a JetBrains IDE
JetBrains
Bioluminescence theme in Sublime Text
Sublime Text
Bioluminescence theme in Slack
Slack
Bioluminescence theme in Ghostty
Ghostty
Bioluminescence theme in Rhino
Rhino

Explore Our Themes

Reading It Back

Taken apart, Bioluminescence is a beach at night drawn with one color. The water is near black and darkest exactly where the code is, the frame around it a midnight blue, and the panels are told apart by depth rather than by lines. The syntax is the glow: one band of blue, a cyan for the fields, a periwinkle for the globals and a single violet for the locals, separated by how brightly each one shines. The interface keeps its cyan for search matches, its violet for progress, and its only warm colors for things that need your attention.

It is a theme for late sessions in a dark room, quiet until something moves. Bioluminescence is a premium theme: a paid plugin for JetBrains IDEs on the JetBrains Marketplace and part of the All In One bundle, and a one time purchase for Xcode, Zed, Sublime Text, Ghostty, iTerm2, macOS Terminal, Claude Code, Codex, OpenCode, Slack, Rhino and Firefox from the Codigrate store, all from its theme page.

Frequently Asked Questions

What is the Bioluminescence theme?

Bioluminescence is one of Codigrate's premium dark nature themes, built around a beach at night when the water is full of plankton that glow: every breaking wave lights up in electric blue for a moment and goes dark again. The editor is almost black with a trace of navy in it, the frame around it is a midnight blue, and the syntax is the glow itself: blues, a cyan, a periwinkle and one violet, all sitting in a narrow band of the color wheel and told apart mostly by how bright they are.

Why is the Bioluminescence editor darker than its panels?

Because on a glowing shore the water is the darkest thing in sight. Most dark themes put the code on a slightly lighter surface than the frame; Bioluminescence does the opposite. The editor is Deep Tide #06080F, at 3 percent lightness, the panels are Midnight Water #0D1220 and the outer frame Dark Current #0E1526. The search fields go darker still, Abyss #03060D. Code is written on the deepest part of the sea, so every color in it glows against near black, and the main text reaches about 17:1.

How are the syntax colors chosen in Bioluminescence?

They copy the way the real glow works: one color, many brightnesses. Nearly every syntax color sits between 191 and 231 degrees on the wheel. Keywords are Electric Tide's lighter sister #70A5FF, methods #7FB2FF, strings and numbers #9EC5FF, parameters Shallow Glow #ACDAF6 and globals Periwinkle Glow #A6B4FF, climbing from 72 to 83 percent lightness. Fields take a cyan #6CC6DA, local variables are the one violet #988BE9, attributes a pale sea green #A8D9C5, and comments a slate grey in italics.

Where can I get the Bioluminescence theme?

Bioluminescence is a premium theme. On JetBrains IDEs it is a paid plugin on the JetBrains Marketplace and is also part of the All In One bundle. For Xcode, Zed, Sublime Text, Ghostty, iTerm2, macOS Terminal, Claude Code, Codex, OpenCode, Slack, Rhino and Firefox it is a one time purchase from the Codigrate store, delivered as a download. All of them are linked from the Bioluminescence theme page.

Codigrate

Codigrate