Introduction

Polymers have a variety of applications due to their different physical and chemical properties1. Polyamides are the first types of globally mass-produced thermoplastic engineering plastics, produced commercially in two forms of films and fibers in the industry2. Polyamide 6, as a type of polyamide, is a significant polymer in the industry and is classified in the category of semicrystalline polymers3. This polymer is a synthetic polymer extensively used in electronic devices, machine industry, and military equipment4,5. Polyamide 6 has favorable properties, such as suitable chemical and aging resistance6, appropriate electrical and thermal resistance7, excellent mechanical properties, and low contact friction8. It has both hydrophilic parts resulting from carbonyl and amide groups and hydrophobic parts due to the presence of ethylene sequence in its structure9.

In general, polymers usually have low surface energy because of the deficiency of polar groups in their structure, leading to low wettability and adhesion10. In these materials, surface properties sometimes limit their uses in different applications. As a result, improving the surface properties of polymers has great importance in applications, such as coating or printing11. There are different methods of surface modification for changing the surface properties while maintaining the bulk profile of material, like chemical modification12, radiation13, and thermal treatment14, which is crucial for various applications. Disadvantages of the mentioned methods include using hazardous chemicals, high energy consumption, and expensive materials and equipment.

Therefore, methods including not using chemical material for surface treatment and modification are more popular and practical nowadays. Plasma treatment of material is an environmentally friendly, clean, dry, chemical-free, and economical method to alter the surface properties15,16,17. Cold plasma is a quasi-neutral medium in which particles are in a thermal non-equilibrium state, and heavier particles possess lower temperatures than electrons18. The cold plasma treatment of materials is a suitable method to alter the surface characteristics of a polymer without any damage to its bulk19,20. A variety of energetic particles in plasma media, including ions, electrons, radicals, metastable species, and photons in the energy range of ultraviolet radiation, affect the surface21,22. The depth of modification via the plasma technique for the surface is from the order of 10 nm, without influencing the bulk characteristics21. The interactions between the plasma and the polymer surface lead to results, such as chain scission23, etching, polymerization, formation of new covalent bonding and functional groups, crosslinking24, generation of polar groups25, and elimination of surface contamination26. Thus, the plasma can change the chemical, physical, mechanical, and adhesion properties of the surface of polymers27,28. In addition, the plasma affects properties, such as printability, wettability, and biocompatibility of the surface29.

Dyeing of materials is done in different ways, and dyeing after manufacture is one of the economical methods to reduce the consumption of dyes. But the main problem in this method is low color stability on the surface due to environmental stress conditions like heat, sunlight, and humidity30. Dye immobilization on the surface of material is an important subject that depends on surface physical and chemical properties31,32. Disperse Red 1 (DR1) dye is a pseudo-stilbene type azobenzene with push–pull characteristic through its electron donor and acceptor substituents33. Azobenzene is a molecular switching system with two phenyl rings linked by (–N=N–) that provides reversible photoisomerization under ultraviolet light irradiation34. Azobenzene molecules are found in two configurations of E (trans) and Z (cis) isomers35. More stable trans isomer converts to cis conformation during exposure to UV light36. The molecule is transferred to cis state with about 50 kJ mol−1 more energy, and the cis isomer changes to trans after thermal relaxation37. Photoisomerization of trans azobenzene causes geometrical structure change and brings the aromatic rings closer to each other38. Azobenzenes have a wide range of applications, such as optical data storage39, sensors40, nonlinear optics41, nanomachines42, drug delivery, holographic43, optical and solvatochromic applications, and so on44,45, due to their photoswitching, molecular motion, electronic, and optical properties. As a result, the dye must be immobilized on the surface of material for better efficiency in various applications40. Also, polymers containing azo dyes have extensive optical applications through their low cost and desirable optical response and have the potential to be used in optoelectronic devices46,47.

In this work, pure and dye-loaded polymer films were exposed to glow discharge plasma to apply plasma-induced changes on the surface of prepared samples. Fourier-transform infrared spectroscopy (FT-IR) and atomic force microscopy (AFM) were employed to evaluate the chemical and morphological changes of the polymers’ surface as the result of plasma treatment. The accelerated aging process was used to estimate dye fastness on the surface of the polymer samples. UV–Vis spectroscopy was applied to measure and compare the effects of plasma on dye fastness of the polymer films and dye conformational composition before and after plasma treatment.

Results

Plasma effect on pure and DR1 doped nylon 6 polymer

After preparing the thin films of pure and DR1 dye-doped polyamide 6, each sample was placed in the plasma reactor for treatment with the argon plasma. FT-IR spectra of the thin layer samples show that the argon plasma treatment of the films, for 300 s, changes the chemical structure of thin polymeric layers. Given that the glow discharge plasma affects the surface, it can be said that these chemical changes have occurred on the surface of polyamide 6. Figure 1 shows the changes of the bonds in the FT-IR spectra of the pristine and the plasma-treated samples. The more detailed peaks information of FT-IR spectra of DR1 dye-doped polyamide 6 polymer in Fig. 1b, before and after plasma treatment for 300 s, were presented in Supplementary Fig. S1. Also, Supplementary Fig. S2 shows the spectra of pure and DR1 dye-doped polyamide 6 polymer before and after plasma treatment for 150 s.

Figure 1
figure 1

FT-IR spectra of (a) pure polyamide 6 polymer (b) DR1 dye-doped polymer and (blue lines) untreated (red lines) plasma-treated samples with argon gas for 300 s modification.

The FT-IR spectra show that the absorption bands in the range of 2850–3000 cm−1 belong to C-H (CH2) symmetric and asymmetric stretching vibrations. The amide group's presence and nitrogen non-bonding electrons conjugation with carbonyl compound in the amide group lead to the reduction of absorption frequency and wavenumber in the carbonyl band because of the resonance effect48. So, the nearby peaks at 1635 cm−1 are related to the primary amide by overlapping of C=O stretching bands and N–H bending vibrations. The peak located at 1578 cm−1 refers to the secondary amide in the polymer structure, and the peak at 1457 cm−1 is attributed to the other forms of N–H vibrations. In addition, the observed band in 1383 cm−1 corresponds to the tertiary amide group. The wide band in 699 cm−1 is ascribed to N–H wagging vibrations.

DR1 dye-doped polyamide 6 polymer thin film was exposed to plasma for different treatment times to further investigate plasma effects. Then UV–Vis spectra of the sample for each time interval of plasma treatment were recorded and compared with the sample without plasma exposure. Figure 2 shows the UV–Vis spectra of the untreated and treated sample for different plasma treatment times. Figure 3 reveals deconvoluted double peaks fitted for each UV–Vis normalized absorption spectrum in Fig. 2 assigned to overlapped trans and cis isomeric states of the dye. Table 1 demonstrates the area under each fitted peak, which represents the population of species.

Figure 2
figure 2

UV–Vis spectra of pristine and argon plasma-treated DR1 dye-doped polyamide 6 polymer film for various treatment times.

Figure 3
figure 3

Double peaks fitted for the UV–Vis normalized absorption spectra of DR1 dye-doped polyamide 6 polymer film before and after plasma modification for different treatment times: (a) before plasma treatment (b) 10 min (c) 14 min (d) 18 min (e) 22 min plasma treatment.

Table 1 The amounts of DR1 dye isomeric species and their ratios calculated from fitted double peaks before and after plasma treatment at different modification time intervals for dye-doped polyamide 6.

Changes in the chemical structure of the surface and the presence of different materials with polar properties cause changes in the absorption wavelength by the dye’s species. The obtained data from the deconvoluted lines demonstrates that the plasma environment converts several trans isomers to cis form. As can be seen from Table 1, the ratio of cis to the trans population for dye-doped polymer film is 0.08 before the plasma treatment of the sample. Furthermore, after 22 min of plasma treatment, these values increase to 0.43 for the dye-doped polymer. In other words, 7.69% of the total population is related to the isomeric state of cis for the dye-doped polymer sample before the plasma. After 22 min of plasma treatment, the population of cis in the sample reaches the value of 30.16%.

Due to the surface treatment nature of cold discharge plasma, it seems that the study of the changes induced by plasma on the surface of DR1 dye-doped polyamide 6 polymer can provide interesting information. An atomic force microscope (AFM) was used to analyze the surface topography of the dye-doped polymer films. The results obtained from the AFM in Fig. 4 show 3D topographical images and the changes of surface roughness of DR1 dye-doped polyamide 6 polymer film by plasma. The comparison between the pristine and the argon plasma-treated sample’s surface for 300 s modification, demonstrates apparent alteration of surface roughness parameters, as presented in Table 2. Figure S3 in supplementary information shows surface roughness before and after plasma treatment for 150 s.

Figure 4
figure 4

AFM images of (a) untreated (b) argon plasma-treated DR1 dye-doped polyamide 6 surface for 300 s modification.

Table 2 Comparative presentation of roughness parameters (Ra, Rq, and Rz) of dye-doped PMMA polymer surfaces before and after argon glow discharge plasma treatment for 300 s.

Plasma effect on surface dyeing of DR1 doped nylon 6 polymer

In this part, DR1 dye-doped polymer film was dipped in DR1 dye solution (in Ethanol solvent 2 × 10–3 M) to adsorb more dye on the surface of the sample. The sample was exposed to plasma for various time periods to study and compare the plasma influence on the surface components. UV–Vis spectra were performed for the sample for each time interval of plasma treatment and compared with the state before plasma exposure to investigate the other effects of plasma. Figure 5 shows the UV–Vis spectra of the untreated and treated samples for different plasma treatment times. Figure 6 reveals deconvoluted double peaks fitted for each UV–Vis normalized absorption spectrum in Fig. 5 assigned to overlapped trans and cis isomeric states of the dye. Table 3 demonstrates the area under each fitted peak, which represents the population of species.

Figure 5
figure 5

UV–Vis spectra of pristine and DR1 dye-loaded polyamide 6 polymer film with extra adsorbed surface dye through dipping in DR1 dye solution and treated with argon plasma at various treatment times.

Figure 6
figure 6

Double peaks fitted for the UV–Vis normalized absorption spectra of DR1 dye doped polyamide 6 polymer film with extra surface dye before and after plasma for different treatment times: (a) before plasma treatment (b) 10 min (c) 14 min (d) 18 min (e) 22 min plasma treatment.

Table 3 The amounts of DR1 dye isomeric species and their ratios calculated from fitted double peaks before and after plasma treatment at different modification time intervals for dye-doped polyamide 6 with extra surface dye.

Plasma effect on aging of DR1 dye loaded polyamide 6 polymer

The accelerated aging process was used to estimate the persistence of dye against the factors such as heat, UV radiation, and humidity to evaluate the dye immobilization on the surface of the polymer under laboratory conditions. The aging process affects the surface of dye-loaded polymeric samples by different reactions such as surface chemical alteration, oxidation, weak link removal, reorientation of the surface contents, photo-degradation, and reduction of surface energy and activity49,50.

The plasma treatment time was optimized for dye fastness on the surface of the sample according to the plasma characteristics. For this experiment, dye-loaded polyamide 6 polymer film was exposed to plasma for optimized time of 300 s. The dye was loaded by immersing the pure polymer films in the dye solution before plasma treatment. The samples were washed in ethanol after plasma modification and before exposure to the aging test. The results of aging process were compared with the control sample without plasma treatment under equal conditions. It should be noted that in this part of the experiment, all samples, after the aging process, were stored in a dark environment at a temperature of 10 °C for 24 h to neutralize and relax their temporary effects. The degree of dye fastness on the polymer surface due to the aging process for the untreated and plasma-treated dye loaded samples was determined by UV–Vis spectroscopy. The durability of the dye on the polymer surface is shown in Fig. 7.

Figure 7
figure 7

UV–Vis spectra of DR1 dye-loaded polyamide 6 polymer films during different times of aging process: (a) untreated (b) plasma modified dye-loaded film after treatment time of 300 s.

Effect of plasma on color strength of dye-loaded polymeric films

K/S values of the untreated and plasma-treated dye-loaded samples with different treatment time were obtained after DMF extraction for 40 min. Table 4 shows the effect of plasma on K/S values of the samples. The color strength (K/S values) changes of the polymeric films with increasing plasma treatment time is shown in Fig. 8. Also, Fig. 9 and Table 5 shows the changes of wavelength for maximum K/S value.

Table 4 K/S values of the dye-loaded samples after DMF extraction for 40 min.
Figure 8
figure 8

Normalized K/S for the washed untreated and plasma-treated dye-loaded samples for different time of plasma modification.

Figure 9
figure 9

Effect of plasma on the color strength of DR1 dye-loaded polyamide 6 polymer.

Table 5 The wavelength of maximum K/S for the washed untreated and plasma treated samples at different time of modification.

Discussion

As shown in Fig. 1, the comparison between the FT-IR spectra of the pristine and plasma-treated samples indicates that the intensity of the tertiary amide peak is noticeably increased by plasma treatment, which demonstrates that the plasma can convert the primary and secondary amide groups in the surface composition of the polymer to the tertiary amides. Also, the indentation at the hillside in the region of 3200–3400 cm−1 confirms a decrease in N–H bonds due to plasma modification.

As a result, argon gas plasma treatment forms radical sites on the surface of polyamide 6 polymer. The active sites lead to surface activation by hydrogen abstraction of the polymer surface. According to the literature, hydroxyl groups can be separated from DR1 dye under similar conditions49. Also, in the range of 1000 to 1300 cm−1, the intensity of the peak related to C-N bond increases. The active surface sites of polyamide 6 films interact with the dye, and as a result, the hydroxyl part of the dye gives a compression reaction with the amine polymer group. The dye reactions with the active radical sites on the polymer, created by the plasma, are illustrated in Fig. 8.

As shown in Fig. 1, the FT-IR analysis of the dye-doped polymer sample shows that the presence of DR1 dye in polyamide 6 polymer layer intensifies the creation of tertiary amides. The obtained results are in full compliance with the mechanism presented in Fig. 8. Finally, the formation of covalent bonds causes the dye to become immobilized on the polymer surface (Fig. 10).

Figure 10
figure 10

Schematic illustration for chemical changes of nylon 6 doped with DR1 dye structure due to plasma treatment.

The increase in the peak intensity of tertiary amides in the doped polymer state is more than pure polymer film. In addition, the peak related to 1635 cm−1 is broadened, and a new bulge is seen around 1733 cm−1 to the right of the peak in the treated dye-doped sample. In other words, the plasma also induces new carbonyl groups on the surface of the polyamide 6 polymer using components segregated from the surface material. Furthermore, the plasma-activated surface of the polymer can react with the oxygen in the air to form such groups after being exposed to ambient air. Creating new C=O and C–O species raises the polarity of the polymer surface and increases the surface free energy and wettability, leading to more dye adsorption into the polymer surface51. For example, creation of some components such as carbonyl, hydroxyl, and carboxylic acid makes the surface more active27,52. As a result, substances called low molecular weight oxidized material (LMWOM) are formed on the surface of the polymer after exposure to ambient air that increase the amount of some polar materials on the surface, like C=O and C–O bonds53, which act as an intermediary to adsorb the dye into the polymer surface. Oxygenated compounds can help the dye adhere to the polymer surface by creating a hydrogen bond.

According to Fig. 2, there are two possibilities to explain the changes of UV–Vis spectra of the sample due to different times of plasma treatment. One possibility is attributed to dye spatial conformational changes. The other is related to plasma etching and sputtering of the polymer surface, which reduces the intensity of the resulting spectra obtained by UV–Vis spectra. In the following, two possibilities are examined in more detail.

The absorption spectra obtained from the DR1 dye-doped into polyamide 6 polymer film, before and after plasma treatment for different times, were used to determine the alteration of dye conformation due to argon plasma treatment. Azobenzene dyes have two main peaks for each conformation in the UV–Vis spectra arising from π → π* and n → π* transitions. The intensity of absorption band of π → π* transition in the trans species is higher than the cis states, but the π → π* and n → π* transitions are slightly shifted further in the wavelength range for the cis mode37,54. The introduced peaks in the UV–Vis absorption spectrum of the DR1 dye, as a pseudo-stilbene type dye, contributing in both isomeric states of this type of dyes, are so close to each other and overlapped55. The absorption spectra can be used to estimate the cis to trans isomers ratio before and after plasma treatment through calculation of the area under the deconvoluted curves. In this work, the absorption spectra were fitted by two Gaussian peaks to extract and compare the amount of cis and trans isomeric species using the OriginPro software. Figure 3 shows the deconvoluted DR1 dye-doped polyamide 6 polymer films' absorption spectra before and after plasma treatment.

The area under the dependent fitted curves in the absorption spectra, due to plasma treatment in different time intervals, confirms an increase in the population of cis isomeric species compared to trans types, see Table 1. It seems that the DR1 azo dye doped in the polymer shows trans–cis photo-isomerization by absorbing energy from the plasma medium. This photo-isomerization state occurs in a polymeric environment, and so the polymeric environment around the dye can be re-oriented. Therefore, the return to the stable trans form is disturbed in the dark, so the samples do not show the conversion of the cis form to the trans form after a long time (about a month).

As shown in Table 2, the roughness parameters of the polymeric surface have developed after argon plasma treatment (300 s modification) compared to the control sample. The amount of Ra roughness as the average deviation from the surface baseline is obviously enhanced. Also, AFM results show that the Rq roughness are increased after glow discharge plasma treatment of the dye-doped polymer surface. According to Fig. 4, the plasma creates pores on the surface of the polymer, and spikes of the polymer surface increase the roughness on the polyamide 6 surface as a result of etching and sputtering by plasma. In addition to etching and sputtering, some compounds can adhere to the polymer surface during or after the plasma treatment and change the surface roughness.

According to Fig. 5, increasing the plasma treatment time reduces the intensity of the resulting spectra obtained by UV–Vis spectra of DR1 dye-doped polymer film with extra surface dye. It should be noted that this reduction in intensity is more significant than the DR1 dye-doped polyamide 6 polymer film without extra dye on surface, which was discussed formerly. As can be seen from Fig. 6, the absorption spectra of the sample before and after different plasma treatment times, were deconvoluted to investigate the relative population of cis to trans isomers. A comparison between the acquired results (Table 3) indicates that the plasma affects the surface of materials more than the bulk. Also, the cis isomer has a higher ability to form and stabilize in the case of extra dye loading on the surface of the polymer. Also, the samples remained stable for about a month in a dark environment. The conversion rate of the cis to trans form depends on the empty space surrounding the dye56. Obviously, there are more empty spaces for dye isomerization on the surface of the polymer than the bulk. It is clear that more effective photons in the plasma environment collide with the dye molecules on the surface directly. The plasma changes the conformation of many dye molecules on the surface due to more free space than dye molecules in the bulk of the material. Some of the reasons for the stabilization of the cis conformation are because of locking the cis isomer due to dye alignment and spatial limitation57. On the other hand, plasma can change surface morphology and chemistry, and prepare the surface conditions to stable cis isomers physically. Increasing the number of pores and polar groups on the surface of the polymer by plasma contributes to stabilizing the dye in the cis state. Numerous subjects impress on the dye inversion, such as substituent, environmental polarity and temperature, and the other environmental conditions57,58. Creating new bonds between the dye and the polymer and new substituent of dye affect the stability of the cis isomer state. Plasma also affects the substituent of the dye and alters various chemical and physical characteristics of the surface. By creating bonds between the dye and the polymer, the plasma causes changes in the optical behavior and stability of the dye, in particular isomeric states. Additionally, in this study, the DC field applied for plasma creates some components with partial dipoles oriented in the field’s direction on the surface. This leads to a regular polarization that brings about alignment, stability, and adhesion of the dye to the surface of the polymer, which is helpful for various nonlinear optical applications. In addition, the higher energy level of the cis isomer leads to more significant reactions with the polymer surface and causes the dye to become immobilized on the polymer surface. Therefore, it is obvious that the plasma increases the adhesion and durability of the dye on the surface. Polymers have good surface and optical properties, and it is easy to make thin films of polymeric material. Even though inorganic materials are usually used to store information due to greater stability of isomeric state of the dye41, plasma treatment suggests a new approach for stabilizing the cis isomer by a strong influence on the polymer surface and dye to create a better polymer environment for data storage and optical applications.

By comparing the UV–Vis spectra of Fig. 7 of the untreated and plasma-treated samples after aging process, it is concluded that plasma causes the dye to adhere more to the polymer surface than the sample without plasma treatment. Plasma modification of the dye-loaded surface of polymer significantly increases the number of dye molecules attaching to the surface and diminishes discoloration of the polymer during the aging process. The tabulated information of Table 4 the fitted curve of Fig. 8 demonstrate that plasma increases the dyeability of the surface of polyamide 6 polymer. The color strength of the samples after washing process increases with the increase of plasma treatment time, and 10 min argon plasma treatment time can be the optimized modification time for enhancement of color strength with these experimental conditions. The results show that plasma can create strong links between the dye and polymer than increases dye durability on the surface of polymer.

Conclusions

The effects of argon DC glow discharge plasma on dyeing of polyamide 6 polymer surface were investigated. The results confirm that plasma-modified dye-loaded film suffers less dye leaching because of physical and chemical changes of the surface content. Plasma activates the surface of polyamide 6 polymer and creates radical groups through breaking some specific bonds on the surface. The subsequent reactions create covalent bonds leading to the increase of tertiary amides and immobilization of dye on the surface of polymer. Besides, plasma treatment of polymeric films increases electro-negativity and surface polarity by introducing polar groups that reinforce the dye’s durability on the polymer surface. Plasma process introduces a new and effective method for converting trans to cis isomer states of DR1 dye with a higher conversion rate in nylon 6 polymer film. The higher energy of cis species enhances the reactivity of the dye with the polymer surface and increases the possibility of dye reactions with the surface. Plasma has significant effect on the conformational conversion and stability of the dye molecules present on the surface because of changes in substituent and polarity of the surface. The results demonstrate that the glow discharge plasma increases the interactive surface of the polymer by enhancing roughness and creating fine and porous structures on the surface, which improves the adhesion of the dye to the surface of the polymer. On the other hand, the surface roughness positively affects the stability of the cis isomer of the dye during plasma modification.

Finally, plasma modification of the polymer surface can be an appropriate technique for dye immobilization on the surface. This technique increases color fastness on the surface and prepares it for use in different applicable substances like halochromic and holographic materials. Moreover, using plasma can multiply the capacity of dye-based optical memories or data storage systems and increase their stability. Also, increasing the amount of cis isomers of dye on the polymeric surface prevents degradation of the polymer through UV radiation absorption on the surface.

Materials and methods

Materials

Polyamide 6 polymer, with the linear formula of [–NH(CH2)5CO–]n, used in this work, was purchased from Sigma-Aldrich with a density of 1.084 g/mL at the temperature of 25 °C and the glass transition temperature of 47 °C. DR1 dye, formic acid (HCOOH), and ethanol (C2H6O) as solvents and dimethylformamide (DMF) were obtained from Merck. The water used in this work was distilled water.

Characterization instruments

70, an FT-IR spectrophotometer, was used to record the vibration spectra over the wavenumber range of 400–4000 cm−1 with the accuracy of 3 cm−1. A double beam Shimadzu UV-2450 UV–Visible spectrophotometer was used to record the absorption spectra over a wavelength range of 200–900 nm. Spectroscopic instruments were combined with a cell temperature controller with an accuracy of ± 0.1 °C. Also, the reflectance percentage of the samples were recorded by this instrument. The atomic force microscope (AFM) analysis was performed on a Nanosurf Mobile S instrument.

Aging test

An accelerated aging process was chosen to examine the immobilization of the dye on the surface of the polymer. The color fastness was compared between the plasma-treated and untreated dye-loaded polymer films during the aging test. The films were placed in an aging oven (chamber with quartz walls) exposed to an ultraviolet light at the temperature of 45 °C and humidity of 87%. The ultraviolet light source was a 500 W mercury-vapor lamp. It was used for various time intervals at a distance of 22 cm from all samples’ surfaces at equal angles, and humidity of 87% was obtained by evaporating distilled water from the floor of the chamber. After the aging process at different times, the UV–Vis absorption spectra were recorded to determine the color retention on the surface of the samples.

Sample preparation

The polymer solution was prepared by dissolving polyamide 6 polymer in formic acid at a concentration of 0.5 W/W% at room temperature. The nylon 6 films were cast on glass slides by the spin-coating method. Generally, three sets of samples were prepared; the first set includes pure polyamide 6 polymer films to investigate the chemical changes and the amount of dye fastness on the surface of pure polymer films immersed in dye solution before and after plasma treatment. The second set of films was cast from the polyamide 6 solution doped with DR1 dye at a concentration of 2 W/W% to study physical and chemical changes of surface content. For the last group, the prepared doped polymer films were dipped in the solution of DR1 dye in ethanol solvent with a concentration of 10 mg/mL in ambient temperature for optimized time of 90 s, so the films adsorb more dye homogeneously. These samples were used for conformational studies. It should be noted that the prepared samples were dried at a temperature of 30 °C in an oven. The films were exposed to a plasma environment, and the surface changes were compared with the plasma-free state. The experiments were repeated three times for each batch of samples.

Plasma instrument

The chamber of glow discharge plasma in this work was a Pyrex tube with a length of 500 mm with two aluminum electrodes attached to the two ends of this cylindrical tube. The polymer films were placed in the positive column zone of the glow discharge plasma for various time durations. The applied gas was argon (with a purity of 99.99%), and the gas pressure in the plasma chamber was decreased with a rotary vacuum pump (Alcatel) joint. After purging the chamber with argon gas, the target gas pressure was fixed at 2 × 10–1 Torr. Then the power supply connected to the electrodes introduced a glow discharge plasma in the space between the two electrodes by applying the DC bias voltage of 1.1 kV and discharge current of 0.15 A with the power density of 660 mW/cm3. After plasma modification of the samples, the chamber pressure reaches the atmospheric pressure. Figures S4 and S5 in supplementary information indicate respectively the image and scheme of argon DC glow discharge plasma instrument treating a sample.

Statistical analysis

The absorption spectra were fitted by two Gaussian peaks to extract and compare the amount of cis and trans isomeric species using the OriginPro 2018 software. The area under each deconvoluted curve indicates the population of any isomeric state. The raw data of UV–Vis spectra were smoothed by the OriginPro software using Savitzky-Golay method with 32 points of window.

Determination of color strength

A batch of dye-doped samples immersed in dye solution, were washed with aqueous 50% DMF at the temperature of 45 °C for 40 min after plasma treatment and compared with untreated washed samples with the same conditions. The color strength (K/S value) of each sample was determined by reflectance measurement according to Kubelka–Munk equation59.