
## SvgColorMode enum

**Module:** `aspose_barcode.generation.svg_color_mode`


Possible modes for filling color in svg file, RGB is default and supported by SVG 1.1. RGBA, HSL, HSLA is allowed in SVG 2.0 standard. Even in RGB opacity will be set through "fill-opacity" parameter


## Enum Values

| Name | Value | Description |
| --- | --- | --- |
| [HSL](#hsl) | `2` | HSL mode, example: fill="hsl(17, 100%, 53%)" fill-opacity="0.73". |
| [HSLA](#hsla) | `3` | HSLA mode, example: fill="hsla(30, 50%, 70%, 0.8)". |
| [RGB](#rgb) | `0` | RGB mode, example: fill="#ff5511" fill-opacity="0.73". Default mode. |
| [RGBA](#rgba) | `1` | RGBA mode, example: fill="rgba(255, 85, 17, 0.73)". |
### SvgColorMode.HSL {#hsl}

**Type:** `int`

**Value:** `2`

HSL mode, example: fill="hsl(17, 100%, 53%)" fill-opacity="0.73".

### SvgColorMode.HSLA {#hsla}

**Type:** `int`

**Value:** `3`

HSLA mode, example: fill="hsla(30, 50%, 70%, 0.8)".

### SvgColorMode.RGB {#rgb}

**Type:** `int`

**Value:** `0`

RGB mode, example: fill="#ff5511" fill-opacity="0.73". Default mode.

### SvgColorMode.RGBA {#rgba}

**Type:** `int`

**Value:** `1`

RGBA mode, example: fill="rgba(255, 85, 17, 0.73)".

