alpha range check for color, use internal helper variables