function isColor(token, options) {
  const val = options.usesDtcg ? token.$value : token.value;
  const type = options.usesDtcg ? token.$type : token.type;
  return (
    type === 'color' &&
    Color(val).isValid() &&
    // exclude gradients from being color transformed
    ['linear', 'radial', 'conic']
      .map((pre) => `${pre}-gradient`)
      .every((pre) => !`${val}`.startsWith(pre) && !`${val}`.startsWith(`repeating-${pre}`))
  );
}
@param {Token} token
@param {Config} options
@returns {boolean}