[![Build Status](https://github.com/hsluv/hsluv-c/actions/workflows/test.yml/badge.svg)](https://github.com/hsluv/hsluv-c/actions/workflows/test.yml)

# HSLuv-C: Human-friendly HSL

## Introduction

This is C implementation of [HSLuv](https://www.hsluv.org/) (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:

* https://github.com/hsluv/hsluv-c/issues


## License

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