GitPedia

Hsluv c

C99 implementation of HSLuv (revision 4)

From hsluv·Updated May 5, 2026·View on GitHub·

This is C implementation of [HSLuv](https://www.hsluv.org/) (revision 4). The project is written primarily in C, distributed under the MIT License license, first published in 2017. Key topics include: c, c99, color-palettes, color-spaces, colors.

Build Status

HSLuv-C: Human-friendly HSL

Introduction

This is C implementation of HSLuv (revision 4).

Using HSLuv-C with your own project

Just copy src/hsluv.h and src/hsluv.c into your project.

Refer to src/hsluv.h for API description.

Building from a Git clone

console
$ mkdir build $ cd build $ cmake .. $ make $ make test

Reporting Bugs

If you encounter any bug, please be so kind and report it. Unheard bugs cannot
get fixed. You can submit bug reports here:

License

HSLuv-C is covered with MIT license, see the file LICENSE.md.

Contributors

Showing top 4 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from hsluv/hsluv-c via the GitHub API.Last fetched: 6/23/2026