hsluv / hsluv-c

C99 implementation of HSLuv (revision 4)
https://www.hsluv.org/
MIT License
90 stars 7 forks source link
c c99 color-palettes color-spaces colors hpluv hsluv mit-license

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

$ 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.