---
title: "Transparentize Constructor (Color, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Transparentize_ctor_2_06afafae.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Transparentize Constructor (Color, Single)
 
Creates and initializes [Transparentize](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Transparentize.htm.md) class instance. You can set all transparentize parameters here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _transparentColor As Color, _tolerance As Single _
)
```
 
```csharp
public Transparentize(Color transparentColor,float tolerance
)
```
 
### Parameters
 
 - transparentColor
     - Type: [Aurigma.GraphicsMill.Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md)
 [Color](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Color.htm.md) value specifying a color to transparentize. You can change it later using [TransparentColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Transparentize_TransparentColor.htm.md) property.

 - tolerance
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
Value in range [0, 1] specifying admissible tolerance (distance between colors in color space) when comparing current color and transparent color. Minimum value (0) means exact match of the colors, maximum value (1) means that any color matches. You can change it later using [Tolerance](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Transparentize_Tolerance.htm.md) property.
   
## See Also

### Reference

- [Transparentize Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Transparentize.htm.md)
- [Transparentize Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Transparentize_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
