I've selected a colour that I wanted to choose.
Despite that, the line appeared to be grey rather than the green that I intended to pick when the line was drawn.
The strangest part about this is that I don't get this problem when I create a new blender file.