--- title: stop-color slug: Web/SVG/Attribute/stop-color tags: - Atributos SVG translation_of: Web/SVG/Attribute/stop-color ---

« SVG Attribute reference home

El atributo stop-color indica que color usar en el stop del gradiente. La keyword currentColor y ICC  pueden ser especificadas de la misma manera con la especificación <paint> para los atributos {{ SVGAttr("fill") }} y {{ SVGAttr("stroke") }}.

Usage context

Categorías Presentation attribute
Valor currentColor | <color> | <icccolor> | inherit
Valor inicial negro
Animatable
Documento normativo SVG 1.1 (2.ª edición)

Ejemplos

Elementos

El siguiente elemento puede usar el atributo stop-color

Compatibilidad entre navegadores

{{Compat("svg.attributes.presentation.stop-color")}}

Ver también