colors.h 362 B

1234567891011121314151617181920212223242526
  1. #ifndef COLORS_H
  2. #define COLORS_H
  3. struct Rgb {
  4. int r, g, b;
  5. };
  6. struct Hls {
  7. int h;
  8. float l, s;
  9. };
  10. void hsl2rgb(struct Rgb *, const struct Hls const *);
  11. void rgb2hsl(struct Hls *, const struct Rgb const *);
  12. static void decspan(const int);
  13. static void hexspan(const char *);
  14. static void b(char * const);
  15. void print_plname(const char*);
  16. #endif