like if you wanted to mix paint to get a color from a computer would you do the opposite of what the RGB value is? I’m confused

like if I wanted to take the RBG code R:99, G: 66, B, 33 wouldn’t it look more lightful than if I mixed paint into 1 part blue, 2 part green, 3 part red? how would you paint a color code?

  • no_circumlocution@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    13 hours ago

    It is the difference between additive mixing and subtractive mixing. When you mix colors on a screen with RGB, you add light. When you mix pigments on a physical medium, you subtract the amount of light reflected (because each paint absorbs most light except the colors it reflects, which are what you see).

    As a side note, when mixing in the subtractive color system, your primary colors are cyan, magenta, and yellow. That’s why a printer takes CMYK, for cyan, magenta, yellow, and black. In case you were wondering, ‘K’ here is black.

    • modus@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      Great explanation. Thank you.

      Can you also tell me how a computer monitor makes Yellow when it only has RGB pixels?

      • no_circumlocution@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        2 hours ago

        Sure! On a spectrum of visible light, yellow has a wavelength between red and green. Therefore, combining red and green, the average wavelength is the same as the wavelength of yellow. In fact, a yellow pixel is really just a pair of red and green pixels on most monitors (except with certain types of expensive monitors in which each pixel has red, green, and blue instead of red, green, or blue).

        For reference:

        I hope this helps.

  • Rioting Pacifist@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    13 hours ago

    Paints absorb light really Red paint should be -#00FFFF so under white light the light becomes FFFFFF-00FFFF -> FF0000

    Of course under blue light (0000FF) it becomes 000000

    If you mix paints you end up with -FFFFFF which turns any light into 000000.

    Basically consider paint a transformation when it comes to light rather than a source

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    56
    ·
    edit-2
    1 day ago

    RGB is additive color, best for light emitting displays such as your phone or computer screen.

    CMY(K) is subtractive color, the opposite/negative of RGB.

    CMYK (Cyan, Magenta, Yellow, blacK) are used as standard printing colors, because they don’t emit light, they reflect whatever light that they don’t absorb.

    • ShaggyBlarney@lemmy.ca
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 day ago

      CMYK = Cyan, Magenta, Yellow, and Key. Key is almost always black in the print world because printing 100% CMY comes out as a muddy almost black. Having Key as black also allows for better greyscale and higher definition over CMY alone.

  • TheFogan@programming.dev
    link
    fedilink
    English
    arrow-up
    18
    ·
    edit-2
    1 day ago

    Basically yes, look up additive vs subtractive colors… that’s why for a monitor you need RGB, but ink cartrages are Cyan Magenta and Yellow

    https://cdn.mos.cms.futurecdn.net/6FSgP38XcxfqQuiYicQx5Z-970-75.jpg.webp

    In short, colored light, and pigments work in opposite ways. Basically all visible light mixes together to make white light. Blue paint, basically absorbs the red and green light, allowing only the blue to bounce back… so mixing more colors of paint, means less light. until almost nothing gets out (hence black). But on a light source, more colors = more light, leading towards white.

  • cecilkorik@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Subtractive colors like paint create color by selectively removing some colors from existing light.

    Additive colors like backlit or light-emitting displays create color by creating colors of light in various proportions that are then combined.

    If you are in a dark room, all paint is black. Until you turn on something with RGB, because then you have some light for it to selectively absorb. However if your RGB is only displaying green light, and you shine it on red paint, it will look exactly the same as black paint (within a certain ballpark of imperfect materials, anyway). Green paint will look green, or white, depending on how your eye adapts, and green and white will be indistinguishable.

    That’s the difference between the two color models. Does it rely on other light sources (subtractive), or is it a light source (additive)?

    How the brain actually perceives color is really, really wild, so this is all a bit… fluid when you start getting into the weird edge cases, but the general principles of additive=light emitting and subtractive=light absorbing are generally applicable.

  • Rhynoplaz@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 day ago

    Thanks for asking this. I’ve always known light and paint worked on different color systems, but I never really understood the why behind it. Great answers!

  • Fondots@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 day ago

    Like others have said, it’s about additive vs subtractive color

    And to start off with, probably everything you know about color is probably over simplified, or even outright wrong. Light and color and how your brain interprets that information is pretty complex stuff. Even this explanation is gonna be glossing over things.

    Starting from the basics, white light contains all of the colors of the rainbow.

    Your eyes, however, are mostly only sensitive to red, green, and blue light, most people only have receptors in their eyes (cones) for those 3 colors. They do pick up a little bit from the surrounding parts of the spectrum but not much, and your brain sort of fills in the gaps from there. If your red cones and green cones are both getting stimulated by light, your brain will interpret that as yellow or orange depending on just how much each is picking up.

    So your monitor is starting with no light across all 3 colors (black)

    And then adding light to get the desired colors.

    But if you’re drawing or painting, ou’re starting with a white canvas, not a black monitor, so how do we go about getting the colors we want!

    Well we’re going to put paint or ink on the canvas to absorb the colors we don’t want.

    Back in elementary school art class you probably learned about complementary or opposite colors. Unfortunately the colors you learned were kind of wrong. Close enough for kids mixing finger paints, but not exactly.

    The opposite of red isn’t green it’s cyan.

    The opposite of green isn’t red, its magenta

    But the opposite of blue is in fact yellow, so one out of three is something I guess.

    What does that actually mean though? Well yellow ink absorbs basically all of the blue light while still reflecting red and green.

    Cyan absorbs all the red light, while still reflecting blue and green

    And magenta absorbs all the green light while still reflecting red and blue

    So by mixing and matching those 3 colors, you can dial things down from 100% white light to a mix of red green and blue that your brain can interpret as other colors.

    In theory mixing a bunch of those 3 colors together, you can eventually get down to black, in practice your pigments aren’t perfect, and even if they were it would get expensive to use that much of those 3 pigments which is why most color printers are CMYK, with “K” standing for black for reasons I’ve never bothered to look up and I’m not gonna start now.

    So your monitoring is adding light from 0 up to make the color you need. It’s “additive.”

    And paint is dialing things down from 100 to the desired color. It’s “subtractive.”

    Hopefully that all makes sense, color is weird.

    • AbouBenAdhem@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      In theory mixing a bunch of those 3 colors together, you can eventually get down to black, in practice your pigments aren’t perfect

      This is a common misconception, but it has nothing to do with imperfections in the pigments. The real issue is that you don’t want each of your primaries to block a full third of the visible spectrum—you want each to block a narrow band of frequencies that overlaps as little as possible with the sensitivity curves of the other cone cells in your eyes, in order to produce fully-saturated colors. The tradeoff is that intermediate frequencies aren’t blocked by any of the primaries, which is why we need to add black.

      • Fondots@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 day ago

        You are right, but I felt like that kind of gets a little too far out of an easy-to-explain model, and decided to kind of push that off into the stuff I said I was going to gloss over because colors are weird

        I suppose it’s sort of more like the pigments are intentionally imperfect to compensate for the also imperfect way that our eyes pick up colors that aren’t exactly red/green/blue

        EDIT: Or perhaps from a certain point of view the pigments are more perfect than our eyes are. The point is the whole system is pretty wonky, a bunch of happy evolutionary accidents happened that allowed our ancestors to be better able to tell what fruit was ripe and spot predators, and at some point we also invented art, computers, monitors, and inkjet printers, and all we have to look at them with are some squishy orbs in our skull meant to spot berries and lions.

    • Fondots@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Put another way, let’s say white is 100% of each red, blue and green light, and black is 0% of each. Every other color is made up of different percentages of those three.

      Your monitor is counting up from zero, you just need to add the colors you want.

      On a white canvas you need to subtract from 100.

      Cyan is basically negative red, magenta is negative green, and yellow is negative blue.

  • AbouBenAdhem@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    1 day ago

    Other comments are discussing additive vs subtractive colors, but that’s not accurate if you’re talking about mixing paints. Subtractive printing (CMYK) works by overprinting transparent inks, where each ink removes a different part of the spectrum. But mixed paints differ in two critical ways:

    • Paints are opaque, not transparent. Unlike subtractive inks, paint doesn’t invariably darken the color it’s painted over—instead it completely or partially replaces the underlying color.
    • Subtractive inks are applied to the substrate one at a time—they’re not pre-mixed and applied in one pass. If you mix paints before appying them, you get more of an averaging than subtraction or addition (so mixing primary colors gets you a medium brownish-gray instead of black or white).
    • Fondots@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 hours ago

      You are right that paint is kind of its own thing and doesn’t really fit into the RGB or CMYK systems

      But I would say it’s overall still subtractive. The paint and whatever you’re painting on isn’t giving off any light on its own, its just reflecting whatever ambient light there is (which is usually more or less white) and subtracting from that.

      You could maybe argue that it’s more replacive (is that a word?) than additive or subtractive. It just kind of is what it is. It’s just replacing the substrate’s reflectivity with its own since it’s opaque like you said.

      And when you mix paints it tends more towards that grey-brown because like you said it’s not layered, it’s more that each pigment is right there on the surface next to each other reflecting and absorbing their part of white light.

      So if you mixed cyan and magenta paints together, instead of light passing through layers of cyan and magenta until all the red and green are filtered out so that only blue light reaches the white paper and is bounced back to your eye, you’d have cyan piments reflecting blue and green, mixed in right next to magenta pigments reflecting red and blue. So both are reflecting blue and the resulting color will probably look blue-ish, but the cyan is reflecting some green, and the magenta some red, so that pulls the color more towards grey (somewhere between white and black, even if you mix all 3 it cant really get down to true black or true white because some light is always going to be absorbed and some reflected)

      • AbouBenAdhem@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        10 hours ago

        I’m not sure I’m accurately visualizing exactly what you’re describing, but I know from experience working with a two-color offset press that the results are quite different if you print two colors in two passes vs one pass (in which the inks are combined on a “blanket” where they effectively mix together before being transferred to the paper all at once).

        In the first case, the result is exactly what you’d expect from a subtractive color model; but in the latter case, the mixed ink that ends up on the paper is no darker than the component inks. The hue is similar whether overprinted or mixed, but the saturation is reduced in the mixed example.

        • Fondots@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          5 hours ago

          Yeah that’s basically what I’m describing.

          I think you just have more of a precise, technical way of describing it probably because you’ve actually professionally worked with color and received some formal training

          Whereas I’m a guy with some self-taught Photoshop skills who paints minis, so my color theory is a little rough and ready.

    • SuperNovaStar@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 day ago

      A good way to get experience with the subtractive system would be to use watercolors, markers, or dip pens with ink, since those are transparent.

  • -RJ-@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    22 hours ago

    I think the difference is one is mixing light and one is mixing colour