DEV Community

Krzysztof Krysiński
Krzysztof Krysiński

Posted on • Updated on

How do color pickers work?


In this series, I'll explain the theory and techniques behind color pickers. I'll talk about concepts and link code examples from a real project, which you can download on NuGet

This widget was written for a pixel art editor

Introduction to types of color pickers

There are a lot of different approaches to color picking and frankly, there is no perfect solution, every approach has pros and cons. I'll cover the necessary theoretical knowledge, so you could build your own.

Ready to go? Awesome! Let's start with color theory and a single panel HSL color picker

Discussion (0)