--- title: animateColor slug: Web/SVG/Element/animateColor tags: - Animation SVG - Element - SVG translation_of: Web/SVG/Element/animateColor --- {{SVGRef}}{{deprecated_header}} > **Attention :** Cet élément est déprécié depuis SVG 1.1 Deuxième édition et peut etre retiré dans une prochaine version de SVG. Il ne fournis pas de fonctionnalités non disponible en utilisant l'élément {{ SVGElement("animate") }}. Il n'est pas implémenté dans Firefox ni dans Internet Explorer. Il est préférable d'utiliser l'élément {{ SVGElement("animate") }} à la place. L'élément **``** spécifie une transformation de couleur à travers le temps. ## Contexte d'utilisation {{svginfo}} ## Attributs ### Attributs globaux - [Attributs à traitement conditionnel](/fr/docs/Web/SVG/Attribute#ConditionalProccessing) » - [Attributs fondamentaux](/fr/docs/Web/SVG/Attribute#Core) » - [Attributs d'événements d'animation](/fr/docs/SVG/Attribute#AnimationEvent) » - [Attributs XLink](/fr/docs/Web/SVG/Attribute#XLink) » - [Attributs de cible d'attribut d'animation](/fr/docs/Web/SVG/Attribute#AnimationAttributeTarget) » - [Attributs d'animation de timing](/fr/docs/SVG/Attribute#AnimationTiming "SVG/Attribute#AnimationTiming") » - [Attributs d'animation de valeurs](/fr/docs/SVG/Attribute#AnimationValue "SVG/Attribute#AnimationValue") » - [Attributs d'animation d'ajout](/fr/docs/SVG/Attribute#AnimationAddition "SVG/Attribute#AnimationAddition") » - {{ SVGAttr("externalResourcesRequired") }} ### Attributs spécifiques - {{ SVGAttr("by") }} - {{ SVGAttr("from") }} - {{ SVGAttr("to") }} ## Interface DOM Cet élément implémente l'interface [`SVGAnimateColorElement`](/fr/docs/DOM/SVGAnimateColorElement "en/DOM/SVGAnimateColorElement"). ## Exemple ### SVG ```html ``` ### Résultat {{EmbedLiveSample("Exemple", 120, 120)}} ## Spécifications | Spécification | Statut | Commentaire | | ------------------------------------------------------------------------------------------------------------ | ------------------------ | ------------------- | | {{SpecName("SVG1.1", "animate.html#AnimateColorElement", "<animateColor>")}} | {{Spec2("SVG1.1")}} | Définition initiale | ## Compatibilité des navigateurs {{Compat("svg.elements.animateColor")}} ## Voir également - {{ SVGElement("animate") }}