You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
|
|
/*
|
|
HSL support (addition to colors.h)
|
|
*/
|
|
|
|
#include "colors.h"
|
|
|
|
// HSL data structure
|
|
typedef struct {
|
|
uint8_t h;
|
|
uint8_t s;
|
|
uint8_t l;
|
|
} hsl_t;
|
|
|
|
/* Convert HSL to XRGB */
|
|
xrgb_t hsl2xrgb(const hsl_t color);
|
|
|