Problem: The threshold to consider a color as bright is too high, and for some colors the foreground is set to white when it should be black. Solution: Change the threshold to 0.179. This value is taken from pastel-textcolor.
document_color
vim.lsp.protocol.Methods
@inlinedoc
:log