---
title: "method"
url: "https://reference.aspose.com/barcode/cpp/aspose.barcode.generation/svgparameters/set_svgcolormode/"
product: "Aspose.BarCode for C++ API Reference"
description: " method. 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 in C++."
---

## SvgParameters::set_SvgColorMode method


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

```cpp
void Aspose::BarCode::Generation::SvgParameters::set_SvgColorMode(Aspose::BarCode::Generation::SvgColorMode value)
```

## See Also

* Enum [SvgColorMode](../../svgcolormode/)
* Class [SvgParameters](../)
* Namespace [Aspose::BarCode::Generation](../../)
* Library [Aspose.BarCode for C++](../../../)
