Almost like that. I just think that SRGB correction should be made for blended colors, so, basically, basic color should be both converted to linear value, then blended, then converted back to SRGB.