בבא קמא ט:ד · Bava Kamma 9:4
הַנּוֹתֵן צֶמֶר לְצַבָּע, וְהִקְדִּיחָתוֹ יוֹרָה, נוֹתֵן לוֹ דְּמֵי צַמְרוֹ. צְבָעוֹ כָאוּר, אִם הַשֶּׁבַח יוֹתֵר עַל הַיְצִיאָה, נוֹתֵן לוֹ אֶת הַיְצִיאָה, וְאִם הַיְצִיאָה יְתֵרָה עַל הַשֶּׁבַח, נוֹתֵן לוֹ אֶת הַשֶּׁבַח. לִצְבֹּעַ לוֹ אָדֹם, וּצְבָעוֹ שָׁחֹר, שָׁחֹר, וּצְבָעוֹ אָדֹם, רַבִּי מֵאִיר אוֹמֵר, נוֹתֵן לוֹ דְּמֵי צַמְרוֹ. רַבִּי יְהוּדָה אוֹמֵר, אִם הַשֶּׁבַח יָתֵר עַל הַיְצִיאָה, נוֹתֵן לוֹ אֶת הַיְצִיאָה, וְאִם הַיְצִיאָה יְתֵרָה עַל הַשֶּׁבַח, נוֹתֵן לוֹ אֶת הַשֶּׁבַח:
In the case of one who gives wool to a dyer and it was burned in the cauldron during the dyeing process, thereby completely ruining the wool so that there is no enhancement, only loss, the dyer gives the owner the value of his wool. If he dyed it unattractively [ ka’ur ] so that the dye is not absorbed well by the wool, if the enhancement, i.e., the amount that the value of the wool has increased by being dyed, exceeds the dyer’s expenses, the owner of the wool gives the dyer the expenses. And if the expenses exceed the enhancement, he gives him the value of the enhancement. If the owner gave wool to a dyer to dye it red for him and instead he dyed it black, or to dye it black and he dyed it red, Rabbi Meir says: The dyer gives the owner of the wool the value of his wool. Rabbi Yehuda says: Here too, if the value of the enhancement exceeds the dyer’s expenses, the owner of the wool gives the dyer the expenses. And if the expenses exceed the enhancement, he gives him the value of the enhancement.
Word-by-word Breakdown (מילים ושרשים)
הַנּוֹתֵן → one who gives [נ - ת - ן]צֶמֶר → wool [צ - מ - ר]לְצַבָּע → to a dyer [צ - ב - ע]וְהִקְדִּיחָתוֹ → and it was burned [ק - ד - ח]יוֹרָה → cauldron [י - ר - ה]נוֹתֵן → gives [נ - ת - ן]לוֹ → to him דְּמֵי → the value of [ד - מ - ה]צַמְרוֹ → his wool [צ - מ - ר]צְבָעוֹ → he dyed it [צ - ב - ע]כָאוּר → unattractively [כ - א - ר]אִם → if הַשֶּׁבַח → the enhancement [ש - ב - ח]יוֹתֵר → is more [י - ת - ר]עַל → over הַיְצִיאָה → the expenses [י - צ - א]נוֹתֵן → gives [נ - ת - ן]לוֹ → to him אֶת → [direct object marker] הַיְצִיאָה → the expenses [י - צ - א]וְאִם → and if הַיְצִיאָה → the expenses [י - צ - א]יְתֵרָה → exceed [י - ת - ר]עַל → over הַשֶּׁבַח → the enhancement [ש - ב - ח]נוֹתֵן → gives [נ - ת - ן]לוֹ → to him אֶת → [direct object marker] הַשֶּׁבַח → the enhancement [ש - ב - ח]לִצְבֹּעַ → to dye [צ - ב - ע]לוֹ → for him אָדֹם → red [א - ד - ם]וּצְבָעוֹ → and he dyed it [צ - ב - ע]שָׁחֹר → black [ש - ח - ר]שָׁחֹר → black [ש - ח - ר]