This is a follow-up and improvement for #941 and #944 .
v0.8.1 provided an initial fix to the font color issue of v0.8.0 (choosing black/white font according to the color of circle tool). The current implementation is to set a threshold on the Lightness in HSL color space (threshold=75). However, this does not work well with some colors like dark blue:
Like the one in the image above, No.2 should use a white number instead of a black number.
It's a classic problem with many discussions before. What I found:
This is a follow-up and improvement for #941 and #944 .
v0.8.1 provided an initial fix to the font color issue of v0.8.0 (choosing black/white font according to the color of circle tool). The current implementation is to set a threshold on the Lightness in HSL color space (threshold=75). However, this does not work well with some colors like dark blue:
Like the one in the image above, No.2 should use a white number instead of a black number.
It's a classic problem with many discussions before. What I found: