aboutsummaryrefslogtreecommitdiff
path: root/src/color.h
diff options
context:
space:
mode:
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);