xdfcgi/includes/colors.h
2017-03-18 01:22:24 -07:00

26 lines
362 B
C

#ifndef COLORS_H
#define COLORS_H
struct Rgb {
int r, g, b;
};
struct Hls {
int h;
float l, s;
};
void hsl2rgb(struct Rgb *, const struct Hls const *);
void rgb2hsl(struct Hls *, const struct Rgb const *);
static void decspan(const int);
static void hexspan(const char *);
static void b(char * const);
void print_plname(const char*);
#endif