What you need is that propery
However, please be aware that this method may make it challenging to differentiate between similar letters, such as 'i' and 'j', if the text and underline share the same color. It's recommended using an offset if employing different colors for the text and underline is not feasible.