To manually test this, select the text and change the foreground color.
The resulting debug message should show the input color.