aboutsummaryrefslogtreecommitdiff
path: root/src/color.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-28 16:48:20 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-28 16:48:20 +0200
commit42522cce658826286473bd76327fb5060bcbce56 (patch)
treeeea236b27bd6a3368c4d08449d67cb8e00ab47df /src/color.h
parent5eefa5199f7784e18b4f760046829c64d07e13b9 (diff)
downloadAsciiMap-42522cce658826286473bd76327fb5060bcbce56.tar.gz
Readability, comments
Diffstat (limited to 'src/color.h')
-rw-r--r--src/color.h2
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);