Timeline for How to apply the difference between 2 colors to another color?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 30, 2022 at 17:53 | comment | added | David Rhoderick | Yea this was an interesting read but I found it pretty hard to understand how percentages help you create a new color. What I tried was to normalize the sample colors to percentages for rgb. Then I took the ratios of those colors and applied them to my source color to try and get a new color that had the same relationship. It didn't work at all. | |
Jun 21, 2022 at 2:12 | comment | added | bubbleking | (continued) ... Let's say my light color is 224,236,143 (a pale yellow). How do I get the corresponding dark color that has the same difference as the OP's light blue and dark blue? | |
Jun 21, 2022 at 2:11 | comment | added | bubbleking | I realize this was 6 years ago, but I'm poring over this now, trying to figure out how to calculate things just as the OP asks, and I don't quite see how this does it. Firstly, I'm much more comfortable working with RGB values 0-255. I see that in both of the OP's examples, we have the minimum values for the ND as 146 (57.3%) for the light color and 42 (16.5%) for the darker one. What I don't understand is, given a random new light color, how do you calculate the darker color with the same proportional difference? For example... (continued) | |
Jun 4, 2016 at 18:59 | vote | accept | Complexity | ||
Jun 2, 2016 at 23:56 | history | answered | Stan | CC BY-SA 3.0 |