Optimising the synthesis and red–green–blue emission of a simple organic dye