def blend_components(original_component, tint_component, tint_strength):
    """Blend the two color components with the given tint strength.

    original_color and tint_color are integers in [0, 255].
    Formula: http://stackoverflow.com/a/29321264
    """
    tint_factor = tint_strength / 100.
    return round((
        (1 - tint_factor) * original_component ** 2 +
        tint_factor * tint_component ** 2) ** 0.5)