I want to replicate a color scheme that is given in Hex codes (RGB, equivalently) - example here.

Given that I have red, yellow, blue, white and black paint, how am I supposed to systematically reproduce these colors? How can I determine the exact proportions of red, yellow, blue, white and black paint I should mix in order to get the colors shown? (Or any Hex-coded color for that matter.)

In any case I want to avoid mixing things "by eye".

  • 3
    That will be very hard: different paints have different amounts of pigment, which might have different characteristics, meaning no mix will have equal proportions. You will always have to do some mixing by eye.
    – Joachim
    Mar 6, 2021 at 19:27
  • 2
    (+2cents) You are looking at two different color models: one is additive and the other subtractive. I would be surprised if there was a way to do this other than "by eye".
    – agarza
    Mar 6, 2021 at 19:34
  • Agarza, I am wondering that as well, but companies that make paint in gallon buckets have a machine that calibrates the exact color the person requests. But that would go into electronics, and machinery. Not arts and crafts.
    – Lyssagal
    Mar 6, 2021 at 20:12
  • 3
    @Lyssagal those companies also know exactly what's in the paint, or rather the calibration files for their machines do. Even then I suspect they rely on starting with a suitable but lighter base, and adding pigment or concentrated paint, rather than mixing pre-made paint. The OP may do better converting from RGB and working in CMYK colour space, buying paints accordingly, but any mixing involving black is problematic (carbon black helps). Lots of white will be needed, and saturated colours. It feels more like an educational project than a technique
    – Chris H
    Mar 7, 2021 at 9:06
  • 1
    You can find various online hex-to-pantone tools, and there are also companies that claim to provide paint matching pantone colors. I've no idea how accurate these things are but pantone is designed as a color standard for printing.
    – Stuart F
    Jun 15, 2022 at 20:11

1 Answer 1


RGB (Red Green Blue), is the common system for representing primary colors for emitted light. That's the color system used for computer monitors. The hex codes are a way of specifying the RGB values. Each two-digit pair in the sequence represents a value between 0 and 255 (in hexadecimal, so only two characters are needed for each value), for red, green and blue light. That allows over 16 million possible colors, which is adequately close to what the human eye can distinguish.

CMY (Cyan Magenta Yellow), is a common system for representing primary colors of reflected light. It's typically the color system used for print colors. Additional colors are often added to the pallet because it is difficult to produce intense RGB primary colors by mixing CMY colors. So printers typically add black, and high-end photo printers often add one or more of the RGB primary colors.

To create precise mixed colors, you need to start with precise primary colors. For example, a nice, intense blue may not be an optically "pure" blue primary color, so any colors mixed from that will be off.

With paint, there is also the effect of how concentrated the pigment is in the paint. If you mix a color from two paints that are optically perfect primary colors but have different concentrations of pigment, the resulting color will be off in the direction of the paint containing a higher ratio of pigment. You create the color by mixing controlled amounts of pigment, not controlled amounts of paint.

Companies that sell mixed paint colors use precisely known colorants, in terms of both the color and the concentration of pigment. Their equipment is calibrated based on those standard source colorants.

You're starting with paint whose precise color and pigment concentration are unknown, so there is no basis for mixing colors from those without calibration equipment (other than by eye). You have the further problem that you aren't starting with a pallet that is primary colors for reflected light, so there will be ranges of color you can't reproduce from just those.

You can approximate a CMY pallet by mixing the colors you have, and that might get you close enough for the colors you need, but there are two big problems. One is that you can never mix pure magenta or cyan primary colors from other colors. The best you can do is to create very desaturated versions. The other problem is that you have no way to produce accurate primary hues as a mixing starting point without calibration equipment.

So unfortunately, you can't get there from here. You may be able to come adequately close for your needs if you buy a color calibration sensor and a good white light source with a high color rendering index. There are some relatively inexpensive ones for calibrating monitors. You may even be able to create something crude with a cellphone camera, a standard color target, and some calibration software.

Once you have a calibrated color sensor, you could precisely mix some colors and measure how far off they are from theoretical. That will indicate differences in pigment concentration, and you could adjust for that.

The reality, though, is that you will invest more time, effort, and money in trying to use your existing paints in this way than buying paints (or paint-like printer's inks) designed to be used in the way you want to use them.

  • Even with a (monitor) colour calibration sensor, you'll struggle with measuring paint colours precisely. Illumination will be critical, and of course it will have to be dry for the final colour and especially the reflection to show properly
    – Chris H
    Mar 11, 2021 at 8:04
  • Thanks for the elaboration, I've never though about these things (especially about the primary colors).
    – cyau
    Mar 11, 2021 at 11:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .