Disclosed herein is a method that comprises providing a solution containing a dye or a dye mixture, ultrasonicating the solution to reduce the average size of aggregates of the dye or dye mixture contained in the solution, and incorporating the dye or the dye mixture in the optical path of a device that transmits light.