I am using Excel 2019/365 32 bit.
I have a sheet with many rows and 3 columns Column A is the Red component (an integer from 0 - 255) Column B is the Green component (an integer from 0 - 255) Column C is the Blue component (an integer from 0 - 255) Of the color formula RGB(A,B,C) I want column D to be the color that would result from RGB(A,B,C) for that row How do I assign a color to column D?
The RBG(A,B,C) A, B, C can be any integer from 0 to 255 for example RGB(255,0,0) = the color Red, Yellow is RGB(255.255,0), Green = RGB(0,255,0), Blue = RGB(0,0,255)
Conditional Formatting is not possible since the possible combinations of colors is over 500 possible colors. So I need a function or VBA Code to fill D with the color that responds to the RGB().
An example of what I want where the colors you see are calculated not conditional formatting