---
title: "SVGFEColorMatrixElement | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable SVGFEColorMatrixElement

SVGFEColorMatrixElement: {  
    prototype: [SVGFEColorMatrixElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGFEColorMatrixElement/);  
    SVG\_FECOLORMATRIX\_TYPE\_HUEROTATE: 3;  
    SVG\_FECOLORMATRIX\_TYPE\_LUMINANCETOALPHA: 4;  
    SVG\_FECOLORMATRIX\_TYPE\_MATRIX: 1;  
    SVG\_FECOLORMATRIX\_TYPE\_SATURATE: 2;  
    SVG\_FECOLORMATRIX\_TYPE\_UNKNOWN: 0;  
    new (): [SVGFEColorMatrixElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGFEColorMatrixElement/);  
}

#### Type Declaration

-   -   new (): [SVGFEColorMatrixElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGFEColorMatrixElement/)
    -   #### Returns [SVGFEColorMatrixElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGFEColorMatrixElement/)
        
-   ##### prototype: [SVGFEColorMatrixElement](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SVGFEColorMatrixElement/)
    
-   ##### `Readonly`SVG\_FECOLORMATRIX\_TYPE\_HUEROTATE: 3
    
-   ##### `Readonly`SVG\_FECOLORMATRIX\_TYPE\_LUMINANCETOALPHA: 4
    
-   ##### `Readonly`SVG\_FECOLORMATRIX\_TYPE\_MATRIX: 1
    
-   ##### `Readonly`SVG\_FECOLORMATRIX\_TYPE\_SATURATE: 2
    
-   ##### `Readonly`SVG\_FECOLORMATRIX\_TYPE\_UNKNOWN: 0
