aboutsummaryrefslogtreecommitdiff
path: root/hsl.h
blob: 2a46c117cc18267924be5084c823ffcc8ed1690a (plain)
1
2
3
4
5
6
#pragma once

#include <stdint.h>

void rgb_to_hsl(uint32_t rgb, int *hue, int *sat, int *lum);
uint32_t hsl_to_rgb(int hue, int sat, int lum);