1234567891011121314151617181920212223242526 |
- #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
|