Export alphatype for extracting the type of the alpha parameter

Also test that it's not possible to construct an AlphaColorValue
with mismatched types.