function colorLikeEvaluator(flatStyle, name, context) {
  if (!(name in flatStyle)) {
    return null;
  }
  const evaluator = buildExpression(flatStyle[name], ColorType, context);
  return function (context) {
    return requireColorLike(evaluator(context), name);
  };
}
@param {FlatStyle} flatStyle The flat style.
@param {string} name The property name.
@param {ParsingContext} context The parsing context.
@return {import('../../expr/cpu.js').ColorLikeEvaluator?} The expression evaluator.