A novel approach towards white photoluminescence and electroluminescence by controlled protonation of a blue fluorophore.