Color Recipe Calculator
Dye percentages for target color from primary dye stock.
About this calculator
This calculator turns a three-color dye recipe into exact weights you can put on a scale. You enter yellow, red/magenta, and blue/cyan as relative "parts" — not percentages that need to add to 100 — and the tool normalizes them by dividing each part count by the sum of all three, giving each dye a fraction of the total mix. That fraction is then applied two ways: it splits your target dye depth (% OWF, meaning percent on the dry weight of the fiber) into an individual % OWF for each primary, and it splits the absolute dye weight (fiber weight × total depth ÷ 100) into grams of yellow, red, and blue to weigh out. The underlying idea is subtractive color mixing, the same logic behind mixing paint or ink: combining primaries in different ratios shifts the resulting hue, while the total depth number controls how saturated or pale the overall color comes out.
Worth flagging up front: it's a proportional splitter, not a color-matching engine — it has no data on what hue a specific yellow-red-blue combination actually produces on your fiber, so you'll still want a dye sample swatch or supplier's shade card to translate "40/35/25 parts" into an expected color. It also assumes all three dyes behave similarly in the bath (similar strike rate and exhaust), which isn't always true across different dye classes. And because the fractions are purely relative, doubling all three part values changes nothing in the output — only the ratio between them, and the separate total depth field, actually move the numbers.
Inputs
Results
Total dye weight (g)
15
How to Use This Calculator
- Enter Fiber weight (g), Total dye depth (% OWF), and Yellow dye (parts).
- Set Red/Magenta dye (parts) and Blue/Cyan dye (parts).
- Review the Total dye weight (g) result.
- Use Yellow dye (g) and Red/Magenta dye (g) to inform your decision.
How the result changes with Fiber weight (g)
| Fiber weight (g) | Total dye weight (g) |
|---|---|
| 250 | 7.5 |
| 375 | 11.25 |
| 750 | 22.5 |
| 1,250 | 37.5 |
What each input means
- Fiber weight (g)
- Dry weight of the fiber or fabric to dye.
- Total dye depth (% OWF)
- Total dye concentration as % on weight of fiber. Light: 0.5-1%, medium: 1-3%, dark: 3-8%.
- Yellow dye (parts)
- Relative proportion of yellow dye in the recipe.
- Red/Magenta dye (parts)
- Relative proportion of red or magenta dye.
- Blue/Cyan dye (parts)
- Relative proportion of blue or cyan dye.
What each result means
- Total dye weight (g)
- Total weight of all dyes combined.
- Yellow dye (g)
- Weight of yellow dye to weigh out.
- Red/Magenta dye (g)
- Weight of red/magenta dye to weigh out.
- Blue/Cyan dye (g)
- Weight of blue/cyan dye to weigh out.
- Yellow (% OWF)
- Yellow dye expressed as individual % OWF.
- Red (% OWF)
- Red dye expressed as individual % OWF.
- Blue (% OWF)
- Blue dye expressed as individual % OWF.
How this is calculated
Worked example, using the default values
- Identify Input Parameters4 parametersFiber weight (g) = 500, Total dye depth (% OWF) = 3, Yellow dye (parts) = 40, Red/Magenta dye (parts) = 35 = 5 input(s) provided
- Calculate Total dye weightTotal dye weight = fiberWeightG * (totalDepthOwf / 100)15 = 15
- Calculate Yellow dyeYellow dye = totalDyeG * yellowFraction6 = 6
- Calculate Red/Magenta dyeRed/Magenta dye = totalDyeG * redFraction5.25 = 5.25
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
Why don't the yellow, red, and blue "parts" values need to add up to 100?
The calculator normalizes them itself by dividing each part count by the sum of all three, turning any set of numbers into a fraction of the total mix. That means 40/35/25 and 8/7/5 produce the exact same recipe fractions and the exact same output — only the ratio between the three parts matters, not their absolute size.
If I double all three part values, why does nothing change in the results?
Doubling yellow, red, and blue parts together leaves each dye's fraction of the total unchanged, since the calculator divides each part by the sum of all three before doing anything else. The only two things that actually shift the output are the ratio between the three colors and the separate Total dye depth (% OWF) field, which controls the absolute amount of dye applied.
What's the difference between the % OWF outputs and the gram weights?
Both come from the same three fractions, just applied to different totals. The % OWF outputs split your chosen Total dye depth into an individual percentage for each primary, while the gram outputs split the absolute dye weight (fiber weight × total depth ÷ 100) into grams of yellow, red, and blue you actually weigh out on a scale.
How do I pick a Total dye depth (% OWF) for a light versus dark color?
The field's help text gives rough bands: roughly 0.5-1% OWF for light or pastel shades, 1-3% for medium depth, and 3-8% for dark, saturated colors. This single number scales the total dye weight up or down while the yellow/red/blue ratio you set stays responsible for the hue.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Dye Bath Ratio Calculator
Water-to-fabric ratio from weight and dye method.
Textile ScienceColor Fastness Prediction Calculator
Predict expected wash and light fastness ratings from dye type, fiber, and shade depth.
Textile CareColor Fastness Test Calculator
Expected color retention from dye type and care method.
Textile DyeingDye Exhaustion Rate Calculator
Dye uptake efficiency from absorbance measurements.
Painting & CoatingColor Mixing Calculator
Calculate paint color mixing volumes, tint percentages, and costs for custom color formulations with up to 4 colorants.
More in Crafts, Hobbies & Games.