diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-07-28 16:48:20 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-07-28 16:48:20 +0200 |
commit | 42522cce658826286473bd76327fb5060bcbce56 (patch) | |
tree | eea236b27bd6a3368c4d08449d67cb8e00ab47df /src/color.h | |
parent | 5eefa5199f7784e18b4f760046829c64d07e13b9 (diff) | |
download | AsciiMap-42522cce658826286473bd76327fb5060bcbce56.tar.gz |
Readability, comments
Diffstat (limited to 'src/color.h')
-rw-r--r-- | src/color.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.h b/src/color.h index b832575..70a8b16 100644 --- a/src/color.h +++ b/src/color.h @@ -23,7 +23,7 @@ extern struct console_color colors[ _COLORS_SIZE ]; //Calculate luminance //Order LSB first: BGR -uint8_t rgb_avg(uint8_t R, uint8_t G, uint8_t B); +uint8_t rgb_luminance(uint8_t R, uint8_t G, uint8_t B); //Get nearest printable color in console char *calc_col(uint8_t R, uint8_t G, uint8_t B); |