utils: Añadidas las funciones darkenColor y lightenColor

This commit is contained in:
2023-05-28 09:17:30 +02:00
parent 73849a2fef
commit 2b5a2cb588
3 changed files with 33 additions and 4 deletions

View File

@@ -201,4 +201,10 @@ bool colorAreEqual(color_t color1, color_t color2);
// Inicializa la estructura de opciones
void initOptions(options_t *options);
// Oscurece un color
color_t darkenColor(color_t color, int amount);
// Aclara un color
color_t lightenColor(color_t color, int amount);
#endif