Added a UI_GetThemeColorBlendShade3ubv function to resources.c, as that was necessary for this conversion.
Also, note that the old code in this file was mixing 3ub colors and 3f colors, so I decided to stick to 3ub, and convert the floats, but if for some reason it is deemed to be better to use 3f instead, I can change that...