diff -r 37d3c819cafa -r 2837b549e616 src/colors.cpp --- a/src/colors.cpp Wed Jun 22 16:13:15 2022 +0300 +++ b/src/colors.cpp Wed Jun 22 16:53:35 2022 +0300 @@ -108,7 +108,7 @@ { if (isDirectColor(color)) { const std::array rgb = directColorRgb(color); - return (luma(rgb[0], rgb[1], rgb[2]) < 0.4) ? Qt::white : Qt::black; + return (luma(rgb[0], rgb[1], rgb[2]) < 102) ? Qt::white : Qt::black; } else { return colorFace(color, colorTable);