DEV Community 👩‍💻👨‍💻

DEV Community 👩‍💻👨‍💻 is a community of 966,155 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for Color code
Igor Spasić for Oblac

Posted on

Color code

Standard programming languages are generic. While that is the purpose of such language, it leads to many ways of understanding and doing the same thing.

The idea is to establish specific guides that should lead to uniquely designed code, hopefully, a better one, leaving less space for a different interpretation.

Why 'color'?

We need a new term for the code categorization. Common terms, 'type' or 'kind,' are already used in a different context. And it's fun!

Let's begin.



  • Calculator - using Ctx
  • ToDo App - simple app with two layers
  • Restaurants - real-world web app with Ktor & Exposed.

Primary colors

🟦 == calm, unchanged, stable
🟨 == pure, light, combined
🟥 == contagious, changes other colors
Enter fullscreen mode Exit fullscreen mode


⚡️ Pro Tip: don't take this too serious.

Top comments (0)

🌚 Browsing with dark mode makes you a better developer.

It's a scientific fact.