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?

    • Mikina@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      If you’re going this route, I highly recommend looking into and using OKLAB instead.

      The problem with HSL/HSV is that it’s not perceptually uniform - if you only move HUE to change color, you will get different perceived brightnesses. This is important especially when procedurally generating color palettes, but also makes it harder to pick a color.

      OKLAB solves that issue, and is designed to be uniform. Here is a great article about it, which is funnily enough IIRC a blog post that invented the color spectrum, that got noticed and eventually turned into a new industry standard.

      Here is a picture that sums up pretty obviously what is the difference. This is a gradient that moves just the hue.