Influence of Cotton Pre-Treatment on Dyeing with Onion and Pomegranate Peel Extracts

In this paper the possibility of applying natural dyes on cellulose fibres were researched with respect to the impact of cotton material pre-treatment (scouring, chemical bleaching, mercerization and mordanting), using renewable sources of natural dyes (waste as a source). As mordants, metal salts of copper, aluminium and ferrum were used, and the influence on colour change as well as on fastness properties were analysed. The natural dyes were extracted from onion peel (Allium cepa L.) and pomegranate peel (Punica granatum L.). In spectrophotometric analysis performed of the plant extracts, the onion extract has peaks at 400 and 500 nm, resulting in red-orange colourations and the pomegranate extract shows a maximum at 400 nm, i.e., in the yellow region, which is characteristic of punicalin. Results show significant influence of cotton pre-treatments on colour appearance and fastness properties, caused by pre-treatments affecting the properties and structure of the cotton itself. The positive effect of mercerization on dye absorption and bonding is confirmed. For wash and light fastness properties, more satisfactory results have been obtained for yarns dyed with pomegranate peel natural dye, and the key importance of mordants for fastness properties has been confirmed.


Introduction
Recent decades have witnessed scientific research efforts aimed at revitalizing and commercializing the use of natural dyes in textile dyeing. There are many positive aspects of natural dyes, which justify this work and effort: from the positive colour characteristics of which the colour hues achieved by natural dyes are always in a harmonious and balanced relationship that positively affects the user, to their proven antibacterial properties, protective properties form harmful UV radiation and environmental sustainability and non-toxicity [1][2][3][4][5]. However, the application of natural dyes in commercial production has certain obstacles. Natural dyes many times lack in uniformity and reproducibility of colour. In addition, the problem is their availability in bulk quantity. There is no sufficient information on standardization of natural dyes application methods, as well as often-questionable colourfastness properties [6]. The application of natural dyes on cotton attracts special attention due to the popularity of cotton fibre, but this is where most of the problems are encountered, due to the natural affinity of most natural dyes for not cellulose but protein fibres. Ferreira conducted a comprehensive study of flavonoid dyes, among which emphasizes research into the chemical structure of onion peel dyes. The results provided important structural information on previously unidentified flavonoids in natural yellow dye extracts. The study contributes greatly to the understanding of the responsibility of individual compounds contained in the dye structure of onion peel, to achieve a certain colour hue, but also for the fastness properties, mostly light fastness [7]. Ferreira et al. also published a comprehensive study of the chemical constituents of the main classes of natural dyes, pointing out the importance of the possibilities provided by modern experiment methodology in establishing chemical correlations with historical In this paper, the complex issue of applying natural dyes on cellulosic materials is addressed from two aspects: first, the possibility of applying natural dyes on cellulose fibres with respect to their natural affinity for protein fibres and the impact of cotton material pre-treatment (scouring, chemical bleaching, mercerization and mordanting) and second, the possibility of using renewable sources of natural dyes (waste as a source). The plants used, onion and pomegranate, traditionally grow in Croatia. Extracts obtained from the waste of these plants were used in dyeing cotton yarn. Raw, scoured, chemically bleached, mercerized and mordanted cotton yarns were dyed with natural dyes obtained from onion peel (Allium cepa L.) and pomegranate peel (Punica granatum L.). Cotton yarns dyed with natural dyes has added value not only for environmental and economic reasons but also from a social and psychological aspect. This research contributes to the complex problem of dyeing cellulose fibres with natural dyes, but also to the circular economy.

Pre-Treatments of Cotton Yarns
Scouring was performed in sodium hydroxide solution with the addition of wetting. The natural pigments remaining after scouring were removed by chemical bleaching with hydrogen peroxide in an alkaline medium with the addition of organic and inorganic stabilizers, sequestering agent and antifoaming agent. Slack mercerization was performed in a laboratory beaker containing 24% sodium hydroxide solution with the addition of a wetting agent. Cotton yarns for mercerization with tenacity were placed in the frame of the mercerizing machine and immersed in 24% sodium hydroxide solution with the addition of a wetting agent. The cotton yarns were twisted in both directions at 4% of tenacity. The pre-treatment procedures are listed in Table 2.
Spectrophotometric analysis of the plant extracts was performed on a Cary 50 Solascreen, Varian absorption spectrophotometer in the ultraviolet (250-400 nm) and visible parts of the spectrum (400-700 nm). Dye extraction was performed in soft water containing 100 g/L onion peel and pomegranate peel. The extraction was performed in a 1:40 bath ratio (considering the mass of the plant) at 100 • C for 60 min. The bath was then allowed to cool for 12 h and the extract was decanted.
Spectrophotometric analysis of the plant extracts was performed on a Cary 50 Solascreen, Varian absorption spectrophotometer in the ultraviolet (250-400 nm) and visible parts of the spectrum (400-700 nm).

Mordanting of the Textile Material with Metal Salts
Onion peel and pomegranate peel belong to the group of acid mordant dyes due to their dyeing properties and bind to fabric by forming a complex with metal salts, called mordants. For this reason, some samples were treated with potassium aluminium sulphate dodecahydrate KAl(SO 4 ) 2 ·12H 2 O, copper (II) sulphate pentahydrate CuSO 4 ·5H 2 O and ferrous (II) sulphate heptahydrate FeSO 4 ·7H 2 O; (Kemika, Zagreb, Croatia) before the dyeing process [27].
Pre-treatment of yarns with metal salts was performed with 5% mordants (based on the mass of the material) in a bath ratio of 1:30 in a Polycolor Mathis apparatus at 50 • C for 30 min. After pre-treatment with metal salts, the cotton yarns were rinsed with cold water.

Dyeing with Natural Dyes
Dyeing with natural dyes using onion peel and pomegranate peel of pre-treated cotton yarns was performed with a bath ratio of 1:30 in a Polycolor Mathis apparatus at 60 • C for 60 min. After dyeing, the cotton yarns were rinsed with cold water. Since these natural dyes are from the group of acid-mordant dyes, dyeing was performed at a pH of 4 adjusted with 20% acetic acid (Kemika, Zagreb).

Colour Analysis in the CIEL*a*b* System
Colour characteristics were measured using a remission spectrophotometer, Datacolor 850, measuring geometry d/8 • , D65, measuring aperture of 9 mm. The whiteness (W CIE ) of undyed cotton yarns were performed according to ISO 105-J02:1997 Textiles-Tests for colour fastness-Part J02: Instrumental assessment of relative whiteness. The coordinates used to determine colour values are "L*" for lightness, "a*" for redness (positive value) and greenness (negative value), "b*" for yellowness (positive value) and blueness (negative value), "C*" for chroma and "h" for hue angle in the range of 0 • to 360 • of undyed and dyed cotton yarns were determined according to ISO 105-J01:1997 Textiles-Tests for colour fastness-Part J01: General principles for measurement of surface colour.
All results were measured on samples by repeating the measurement procedure at random locations on the samples. Thus, the colour measurements were made using the Datacolor Tools computer program and "Measuring until tolerance" command, which means that at least 10 measurements must be made, and the results are accepted only if the total colour difference between each measurement is less than 0.1 (dE* < 0.1).

Wash Fastness
Wash fastness of cotton yarns were tested in a laboratory apparatus for wet and dyeing processes Polycolor, Mathis. The test was performed according to standard ISO 105-C06:2010 (A2S) Textiles-Tests for colour fastness-Part C06: Colour fastness to domestic and commercial laundering, using 2 g/L of standard detergent (James Heal ECE A, without optical brighteners and without phosphates), with a bath ratio of 1:20, temperature of 40 • C, time of 30 min. The results of wash fastness are given as numerical values of total colour difference calculated according to CIE76 equation, as well as in grey scale grades, obtained by comparing unwashed samples with samples that were washed after the 1st and 5th washing cycle.

Lightfastness
Lightfastness testing of the samples were performed on Xenotest 440 ((SDL Atlas, Rock Hill, SC, USA). Xenotest 440 is used for laboratory simulation of external weather ), CHT: 32 • C (±3 • C), BST: 47 • C (±8 • C), RH: 40% (±8%), no spray, fan speed: 2000 rpm. Using the same equation as for the wash fastness, the lightfastness properties was also evaluated by calculating total colour difference values (DE), as well as in blue scale grades, obtained by comparing samples before and after exposure.

Results and Discussion
In this paper the influence of pre-treatment of cotton material on dyeing with natural dyes is presented. Pre-treatments of scouring, chemical bleaching and mercerization were performed. After the process of scouring, a part of the samples was chemically bleached and a part was left only scoured, while the mercerization process was carried out directly on the raw samples without prior scouring and bleaching.
In the first step, the spectrophotometric analyses of whiteness (W), yellowness (YI) and lightness (L*) have been performed on undyed samples, regarding the different pretreatments. The objective results of whiteness, yellowness and lightness of undyed treated samples are shown in Table 1, while the photographs of samples are given in Table 3. Table 3. Whiteness, yellowness index and spectral characteristics of pre-treatment and mordanted yarns. In addition to cellulose, cotton fibre contains impurities that give cotton its hydrophobicity and thus prevent satisfactory treatments of cotton material. The scouring has been performed in order to remove the hydrophobic impurities from the primary wall (e.g., pectin, proteins, and organic acids) and cuticle (waxes and fats) from cotton fibre [25,[28][29][30]. The spectrophotometric measurement of whiteness of raw material showed rather low value (W CIE = −17.00), which is to be expected since raw cotton has impurities that give it a yellowish colour. Scouring removes all impurities except pigments, and whiteness increases (W CIE = 40.10), while the highest whiteness is obtained with chemical bleaching (W CIE = 79.70), causing the natural pigments to be removed, resulting in a significant increase in whiteness. In this way, the results of dyeing become accurate. Due to the protoplasmic residues of the protein and flavone pigments of the cotton flowers, it has its natural greyish colour. By chemical bleaching, the cotton obtains a permanently white surface suitable for dyeing [26]. The yellowness index is inversely related to the whiteness, i.e., the higher the whiteness, the lower the yellowness index. The raw cotton yarn has the value of yellowness index (YI = 34.52) and the chemically bleached has the (YI = 1.75).
The raw cotton samples were also mercerized. Mercerization of cotton is performed in 20-30% NaOH solution with or without tension that achieves various effects such as increased moisture absorption, lustre and dyeability. The cotton fibre's longitudinal view is converted from a ribbon shape to a straight shape, and the natural twist of cotton fibres disappears. Moreover, part of the crystalline region of the cotton fibres is converted into the amorphous region, so that the dyeability and chemical reactivity are improved. The mercerized cellulose has no chemical changes compared to the original cellulose, but the crystal structure is converted from cellulose I to cellulose II [27,[31][32][33].
The samples in this experimental work have been mercerized by both methods, in slack (without the tension) and with tension. The results show the slight increase in whiteness compared to raw samples, although the mercerized samples were not scoured and bleached previously. This is due to the action of the sodium hydroxide, which removes the impurities that give the cotton a yellowish hue. The whiteness of sample mercerized in slack mercerization is W CIE RSM = 5.60 and mercerization with tenacity is W CIE RM4 = 1.40.
By processing pre-treated yarns with metal salts of copper, aluminium and ferrum (mordants) the whiteness and yellowness index also change. Mordants in addition to improving the binding of dyes to fibre, also have a major role in changing the whiteness, yellowness index and hue of undyed pre-treated yarns. Influence of pre-treatment with copper and aluminium, greatly affects the increase in whiteness compared to pre-treated yarns. All cotton yarns give a yellowish shade, except for chemically bleached coppertreated yarns. The hue of CB_Cu is in the green area (h • = 177.57) due to the natural greenish shade of CuSO 4 ·5H 2 O solution. When cotton yarn was treated with ferrum mordant, the yellowness index increases relative to all pre-treatment yarns except raw yarn. The largest difference in yellowness index can be seen on RM4_Fe, which is YI = 38.54. Accordingly, the RM4_Fe yarn has the lowest lightness (L* = 79.92). Due to the removed pigments in chemically bleached yarns, the lightness is the highest and ranges from 93.49 to 90.92 (Tables 3 and 4). in chemically bleached yarns, the lightness is the highest and ranges from 93.49 to 90.92 (Tables 3 and 4). In the next step, the extraction of natural dyes from onion and pomegranate peel has been performed. As mentioned in the Introduction, one of the aims of this work was to investigate the possibility of using easily accessible natural sources (biowaste from food sources): pomegranate peel and onion peel for dyeing cotton yarn. The use of biowaste to obtain natural dyes is in line with one of the essential postulates of the circular economy, and that is waste minimization. It solves some of the basic problems for the possible commercial application of natural plant dyes: the need for plant sources, availability of raw materials, standardization of dyeing recipes, environmental and economic sustainability, i.e., the realization of the idea of zero greenhouse gas emissions. The idea of zero emissions is based on the idea that each biological waste can be a raw material for another produc- In the next step, the extraction of natural dyes from onion and pomegranate peel has been performed. As mentioned in the Introduction, one of the aims of this work was to investigate the possibility of using easily accessible natural sources (biowaste from food sources): pomegranate peel and onion peel for dyeing cotton yarn. The use of biowaste to obtain natural dyes is in line with one of the essential postulates of the circular economy, and that is waste minimization. It solves some of the basic problems for the possible commercial application of natural plant dyes: the need for plant sources, availability of raw materials, standardization of dyeing recipes, environmental and economic sustainability, i.e., the realization of the idea of zero greenhouse gas emissions. The idea of zero emissions is based on the idea that each biological waste can be a raw material for another production, i.e., that one industry can always consume the waste of another industry. Inexpensive by-products from agriculture and forestry can be used to obtain natural plant dyes, such as wood bark from the wood industry, industrial food and beverage waste such as pressed berries, distillation sludge and other residual by-products. Intensive use of industrial waste as renewable raw materials for the production of natural dyes would increase the economical use of waste material, contribute to the preservation of the environment and reduce the use of fossil fuels [34].
After the extraction, the absorption spectra of the extracts were measured spectrophotometrically. Figure 2 shows the absorption spectra of the extracts of onion and pomegranate peel in the ultraviolet and visible parts of the spectrum. In the visible part of the spectrum, the onion extract was confirmed by peaks at 250, 288 and 330 nm [35,36]. The pomegranate extract shows a maximum at 400 nm, i.e., in the yellow region, which is characteristic of punicalin. Punicalin in the aqueous extract of pomegranate was also confirmed by analysis in the ultraviolet part of the spectrum with peaks at 256, 278 and 360 nm [35,36].
Onion peels (Allium cepa L.) are rich in flavonoids, and the most common is quercetin, followed by quercetin glucoside and kaempferol. Due to their chemical structure, flavonoids are the most common plant dyes of yellow shades. The natural plant dyes used in this paper belong to the group of acid-wetting dyes. Therefore, in the acid medium in dyeing process, ionization occurs on imide, carbonyl and hydroxyl groups, and depending on the raw material composition of the textile material, the choice of mordants (metal salts) and the chemical structure of the natural dye, metal complexes of different colours The pomegranate extract shows a maximum at 400 nm, i.e., in the yellow region, which is characteristic of punicalin. Punicalin in the aqueous extract of pomegranate was also confirmed by analysis in the ultraviolet part of the spectrum with peaks at 256, 278 and 360 nm [35,36].
Onion peels (Allium cepa L.) are rich in flavonoids, and the most common is quercetin, followed by quercetin glucoside and kaempferol. Due to their chemical structure, flavonoids are the most common plant dyes of yellow shades. The natural plant dyes used in this paper belong to the group of acid-wetting dyes. Therefore, in the acid medium in dyeing process, ionization occurs on imide, carbonyl and hydroxyl groups, and depending on the raw material composition of the textile material, the choice of mordants (metal salts) and the chemical structure of the natural dye, metal complexes of different colours are formed. The obtained dyes and their properties are the result of the formation of a ligand: fibre-metal ion-natural dye (Figure 3) [34].
Onion peels (Allium cepa L.) are rich in flavonoids, and the most common is quercetin, followed by quercetin glucoside and kaempferol. Due to their chemical structure, flavonoids are the most common plant dyes of yellow shades. The natural plant dyes used in this paper belong to the group of acid-wetting dyes. Therefore, in the acid medium in dyeing process, ionization occurs on imide, carbonyl and hydroxyl groups, and depending on the raw material composition of the textile material, the choice of mordants (metal salts) and the chemical structure of the natural dye, metal complexes of different colours are formed. The obtained dyes and their properties are the result of the formation of a ligand: fibre-metal ion-natural dye (Figure 3) [34].  After dyeing, the samples were spectrophotometrically measured, and the analysis of objective colour parameters was performed. The results of the coordinate placement of the obtained colours are shown in a*/b* colour space, with a graphical representation of the objective values of the basic colour parameters: lightness (L*), chroma (C*) and hue (h • ), in Figure 4.
From the colour coordinates of the cotton yarns dyed with onion peel (Figure 4), it is evident that the raw cotton yarn dyed in an aqueous extract of onion peel, achieved yellow hue (h • = 73.52) of high lightness (L* = 81.60) and low chroma (C* = 15.80). With the addition of mordants, the hue changes, but the most significant change occurred was the increase in chroma value. The sample treated with aluminium salts have chroma C* = 37.43 and with copper C* = 23.30. With lightness being L* = 68.81 and 63.67, respectively, the increase in colour intensity can be confirmed, although, given that it is a yellow hue, the ratio of chroma to lightness is still insufficient to give a clear, chromatic colour. As can be seen from the sample images (Table 4), the achieved shades are in the range of brownishyellow-orange. The sample pre-treated with ferrum salts, as it was expected, achieved the most achromatic shade with the lowest chroma C* = 23.56.
Even more emphasized achromatic shade with lower chroma, is achieved for the scoured sample treated with ferrum salt (C* = 14.14), while for the rest of the scoured samples, the similar relationship of chroma C* and lightness L* have been achieved with hue ranging also in yellow-orange spectrum.
In chemically bleached cotton yarn, all natural pigments have been removed, so the substrate is whiter, giving the hues cleaner, lighter and more yellow after the dyeing. When mordant is added, the hue of the samples changes slightly (h • = 74.77-77.90) but it stays in yellow/yellow-orange spectrum. The sample treated with aluminium has the highest chroma value (C* = 33.53) which in relation to lightness (L* = 74.41) gives the highest colour intensity, although still in chromatic-achromatic area. For the scoured samples as well the most achromatic shade is achieved for the sample treated with ferrum salts.
In mercerized samples, a positive effect of mercerization on the absorbance and affinity of cotton fibre to dyes is observed. Even for mordant-free samples, a higher chroma value is achieved compared to non-mercerized samples, while for samples treated with mordants (even for samples treated with ferum salt) the highest intensity, arising from the specific lightness/chroma relationship is shown. Furthermore, the results show that for the samples treated with slack mercerization, a higher colour intensity is achieved compared to samples mercerized with tension.
The photographs of dyed samples regarding the cotton pre-treatments and mordant usage are shown in Table 5.
After dyeing, the samples were spectrophotometrically measured, and the analysis of objective colour parameters was performed. The results of the coordinate placement of the obtained colours are shown in a*/b* colour space, with a graphical representation of the objective values of the basic colour parameters: lightness (L*), chroma (C*) and hue (h°), in Figure 4. From the colour coordinates of the cotton yarns dyed with onion peel (Figure 4), it is evident that the raw cotton yarn dyed in an aqueous extract of onion peel, achieved yellow hue (h° = 73.52) of high lightness (L* = 81.60) and low chroma (C* = 15.80). With the addition of mordants, the hue changes, but the most significant change occurred was the increase in chroma value. The sample treated with aluminium salts have chroma C* = 37.43 and with copper C* = 23.30. With lightness being L* = 68.81 and 63.67, respectively, the increase in colour intensity can be confirmed, although, given that it is a yellow hue, the ratio of chroma to lightness is still insufficient to give a clear, chromatic colour. As can be seen from the sample images (Table 4), the achieved shades are in the range of brownish-  yellow-orange. The sample pre-treated with ferrum salts, as it was expected, achieved the most achromatic shade with the lowest chroma C* = 23.56. Even more emphasized achromatic shade with lower chroma, is achieved for the scoured sample treated with ferrum salt (C* = 14.14), while for the rest of the scoured samples, the similar relationship of chroma C* and lightness L* have been achieved with hue ranging also in yellow-orange spectrum.
In chemically bleached cotton yarn, all natural pigments have been removed, so the substrate is whiter, giving the hues cleaner, lighter and more yellow after the dyeing. When mordant is added, the hue of the samples changes slightly (h° = 74.77-77.90) but it stays in yellow/yellow-orange spectrum. The sample treated with aluminium has the highest chroma value (C* = 33.53) which in relation to lightness (L* = 74.41) gives the highest colour intensity, although still in chromatic-achromatic area. For the scoured samples as well the most achromatic shade is achieved for the sample treated with ferrum salts.
In mercerized samples, a positive effect of mercerization on the absorbance and affinity of cotton fibre to dyes is observed. Even for mordant-free samples, a higher chroma value is achieved compared to non-mercerized samples, while for samples treated with mordants (even for samples treated with ferum salt) the highest intensity, arising from the specific lightness/chroma relationship is shown. Furthermore, the results show that for the samples treated with slack mercerization, a higher colour intensity is achieved compared to samples mercerized with tension.
The photographs of dyed samples regarding the cotton pre-treatments and mordant usage are shown in Table 5.

RM4_O
For samples dyed with natural dye extracted from pomegranate peel, the equal analysis is performed and the results of positioning the obtained colourations in a*/b* colour space with numerical evaluation of the main colour parameters; lightness (L*), chroma (C*) and hue (h°) is shown in Figure 5. For samples dyed with natural dye extracted from pomegranate peel, the equal analysis is performed and the results of positioning the obtained colourations in a*/b* colour space with numerical evaluation of the main colour parameters; lightness (L*), chroma (C*) and hue (h • ) is shown in Figure 5. In general, a more pronounced yellow colour hue is achieved for samples dyed with pomegranate peel natural dye, compared to samples dyed with onion peel natural dye. Furthermore, higher chroma (C*) for non-mordanted samples is achieved compared to samples dyed with onion extracted dye. This arises from the fact that the pomegranate is a tannin dyestuff, and tannin has a property of behaving as a mordant. It is also important to mention that the pomegranate dye is a natural substantive dye which makes it suitable for cotton.
As for the samples treated with mordants, a similar influence on dye absorption and achieved relationship of chroma (C*) and lightness (L*) compared to the onion dyed samples can be seen. The sample treated with copper has the highest chromaticity (C* = 37.92), while the sample treated with ferrum salts has the lowest chroma value (C* = 13.67), which in relation to the lowest lightness (L* = 51.68) correspond to the visual appearance of the sample being dark greyish and the most achromatic.
The highest colour depth (which is inferred from the specific ratio of lightness and chroma) was obtained for the sample treated by slack mercerization and mordanted with copper salts.
The brightest shades are achieved for mercerized samples mordanted with aluminium salt. Although the value of chroma is not the highest for these samples, in a specific In general, a more pronounced yellow colour hue is achieved for samples dyed with pomegranate peel natural dye, compared to samples dyed with onion peel natural dye. Furthermore, higher chroma (C*) for non-mordanted samples is achieved compared to samples dyed with onion extracted dye. This arises from the fact that the pomegranate is a tannin dyestuff, and tannin has a property of behaving as a mordant. It is also important to mention that the pomegranate dye is a natural substantive dye which makes it suitable for cotton.
As for the samples treated with mordants, a similar influence on dye absorption and achieved relationship of chroma (C*) and lightness (L*) compared to the onion dyed samples can be seen. The sample treated with copper has the highest chromaticity (C* = 37.92), while the sample treated with ferrum salts has the lowest chroma value (C* = 13.67), which in relation to the lowest lightness (L* = 51.68) correspond to the visual appearance of the sample being dark greyish and the most achromatic.
The highest colour depth (which is inferred from the specific ratio of lightness and chroma) was obtained for the sample treated by slack mercerization and mordanted with copper salts.
The brightest shades are achieved for mercerized samples mordanted with aluminium salt. Although the value of chroma is not the highest for these samples, in a specific relationship with higher lightness, and given the nature of the yellow colour, visually, the appearance of a colour of greater brilliance is obtained (Table 6). relationship with higher lightness, and given the nature of the yellow colour, visually, the appearance of a colour of greater brilliance is obtained (Table 6). Contrary to theoretical expectations, the highest colour intensity was not obtained for bleached samples, although bleaching should improve colour clarity and brightness. Lower chroma relative to higher lightness resulted in a visually pastel, bright, unsaturated colour.
After colorimetric analysis of the dyed samples, a wash fastness test was performed. Five wash cycles were performed, and the results are shown after 1st and 5th cycles by the objective value of the total colour difference calculated according to the CIE76 system as well as by the value of grey scale grading (Tables 7 and 8).
Samples treated with onion peel after the 1st and 5th wash cycle show low colour fastness, which was to be expected due to the chemical construction of the natural dye extracted from onion peel. After the 1st wash cycle, a smaller colour difference (DE) is visible than after the 5th wash cycle. The smallest colour difference is obtained for the sample pre-treated by slack mercerization, mordanted with CuSO 4 (DE RSM_O_Cu = 1.49). This is to be expected, because during free mercerization, the crystal lattice of cellulose changes. There is also an increase in amorphous areas in the cellulose that are responsible for higher dye binding. Grey scale values after 1st wash cycle, for most samples range between 3 and 4, which indicate rather satisfactory stability of natural dyes during washing, but after the 5th wash cycle, the wash fastness ratings decrease significantly, while DE increases. This indicates that during the 5th wash cycle, a significant amount of dye is removed from the yarns ( Table 7). After colorimetric analysis of the dyed samples, a wash fastness test was performed. Five wash cycles were performed, and the results are shown after 1st and 5th cycles by the objective value of the total colour difference calculated according to the CIE76 system as well as by the value of grey scale grading (Tables 7 and 8). scale. The grades did not decrease drastically and did not decrease at all after the 5th wash cycle, which indicates satisfactory colour durability after the 5th wash cycle (Table 8). Furthermore, the light fastness of obtained colorations was tested. Tables 9 and 10 show the light fastness results of samples dyed with onion peel (Table 9) and pomegranate peel (Table 10)   wash cycle, which indicates satisfactory colour durability after the 5th wash cycle (Table  8). Furthermore, the light fastness of obtained colorations was tested. Tables 9 and 10 show the light fastness results of samples dyed with onion peel (Table 9) and pomegranate peel (Table 10)

Conclusions
Tests conducted in this paper confirm that, although natural dyes generally have a lower affinity for cellulose fibres, satisfactory dye quality results can be achieved. Furthermore, the positive effect of mercerization on the absorption and binding of dyes was confirmed, both in onions and pomegranates dyeing. Even without additional pre-treatment with mordants, certain colour intensity is obtained compared to untreated non-mercerized samples. However, in order to achieve more intense coloration, the necessity of applying mordants was confirmed. Optimal colour intensity results for the natural onion dye were obtained with aluminium salt as mordants, while for the pomegranate dye, the copper salts were confirmed as optimal.
Contrary to expectations, chemical bleaching did not improve the achievement of more intense coloration, but very light, pastel shades of low intensity were obtained.
Yarns treated with onion peel, after the 1 st and 5 th wash cycles show low colour fastness, which was to be expected due to the chemical constitution of the natural dye extracted from onion peel. For yarns dyed with pomegranate peel after the 5 th wash cycle, a minimal increase in the total colour difference value (DE), compared to the 1st wash cycle was obtained, indicating a better wash fastness for yarns dyed with pomegranate peel.
As for the light fastness, for yarns dyed with pomegranate peel, better light fastness was obtained. It must be emphasized that the selection of mordant is also an important factor in light fastness. Thus, for the yarns dyed with onion peel mordanted with copper and yarns dyed with pomegranate peel mordanted with ferrum, satisfactory light fastness was obtained. For yarns mordanted with aluminium, the lowest light fastness on all dyed yarns were obtained.

Conclusions
Tests conducted in this paper confirm that, although natural dyes generally have a lower affinity for cellulose fibres, satisfactory dye quality results can be achieved. Furthermore, the positive effect of mercerization on the absorption and binding of dyes was confirmed, both in onions and pomegranates dyeing. Even without additional pre-treatment with mordants, certain colour intensity is obtained compared to untreated non-mercerized samples. However, in order to achieve more intense coloration, the necessity of applying mordants was confirmed. Optimal colour intensity results for the natural onion dye were obtained with aluminium salt as mordants, while for the pomegranate dye, the copper salts were confirmed as optimal.
Contrary to expectations, chemical bleaching did not improve the achievement of more intense coloration, but very light, pastel shades of low intensity were obtained.
Yarns treated with onion peel, after the 1st and 5th wash cycles show low colour fastness, which was to be expected due to the chemical constitution of the natural dye extracted from onion peel. For yarns dyed with pomegranate peel after the 5th wash cycle, a minimal increase in the total colour difference value (DE), compared to the 1st wash cycle was obtained, indicating a better wash fastness for yarns dyed with pomegranate peel.
As for the light fastness, for yarns dyed with pomegranate peel, better light fastness was obtained. It must be emphasized that the selection of mordant is also an important factor in light fastness. Thus, for the yarns dyed with onion peel mordanted with copper and yarns dyed with pomegranate peel mordanted with ferrum, satisfactory light fastness was obtained. For yarns mordanted with aluminium, the lowest light fastness on all dyed yarns were obtained.

Data Availability Statement:
The data presented in this study are available on request from the corresponding author.