Skip to main content

hrekov logoBuild Better Software. Practical guides, APIs, and tools that solve real-world problems.

Production-Ready Tools

Tools Used by Developers Worldwide

Most Popular
PasteDownloader

PasteDownloader

A simple tool to download images directly from your clipboard by pasting them on the page.

Trending
JWT Secret Key Generator

JWT Secret Key Generator

Generate cryptographically secure secret keys for JWT authentication with one-click formatting for .env files.

Newest Release
Free Online Accessible Color Palette Generator & Contrast Checker

Free Online Accessible Color Palette Generator & Contrast Checker

Generate 5-color palettes that are fully compliant with WCAG accessibility standards. Discover safe color combinations with our comprehensive contrast matrix.

Get Early Access to New Tools

Be the first to try new APIs and applications. No noise. Only meaningful releases and practical engineering insights.

Latest Engineering Articles

pythonMarch 9, 2026
How to create a 5-color palette where EVERY color is readable against EVERY other color with Python

Creating a color palette where **every** color is readable against **every other** color is a high-level design challenge. As the number of colors in your palette increases, the "contrast space" shrinks significantly. In this article, we’ll build a script that uses an **iterative "Collision-Check" algorithm**. It generates a candidate color, checks it against every color already in the palette, and only keeps it if it passes the WCAG AA threshold against all of them.

pythonMarch 9, 2026
How to convert colors in Python: A Comprehensive Guide to RGB, HSL, HWB, CMYK, and HEX

Converting colors in Python is a fascinating mix of dictionary lookups (for names like "tomato") and coordinate geometry. While we can use the built-in `colorsys` module for some parts, we'll need the `webcolors` library to handle CSS names and some custom math to reach the more "exotic" formats like **HWB** and **CMYK**.

pythonMarch 9, 2026
Contrast Checker: How to Calculate Color Contrast in Python

Designing a beautiful UI is pointless if half your users can't read it. Whether it's a person with a visual impairment or someone trying to check their phone on a sunny day, color contrast is the secret sauce of accessible design. The WCAG (Web Content Accessibility Guidelines) provides a mathematical way to ensure text stands out against its background. Let's integrate a "Contrast Checker" into our Python toolkit.

Serhii Hrekov

About

I build backend systems and practical tools used by developers and businesses. This site is a collection of my production-ready APIs, open-source projects, engineering insights and practical guides that solve real-world problems.